diff --git a/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 b/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 index eb188510d45..5a0e1d5a052 100644 --- a/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 +++ b/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 @@ -40,8 +40,8 @@ const DiscoveryCategoriesRoute = Discourse.Route.extend(OpenComposer, { }, _loadCategoriesAndLatestTopics() { - const wrappedCategoriesList = PreloadStore.get("categories_list"); - const topicListLatest = PreloadStore.get("topic_list_latest"); + const wrappedCategoriesList = PreloadStore.getAndRemove("categories_list"); + const topicListLatest = PreloadStore.getAndRemove("topic_list_latest"); const categoriesList = wrappedCategoriesList && wrappedCategoriesList.category_list; if (categoriesList && topicListLatest) { return new Ember.RSVP.Promise(resolve => {