From 8fc556f81afbd25c3aa7466b1510c9a5f3592517 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 30 Aug 2016 23:54:15 -0300 Subject: [PATCH] FIX: Avatars on new category page --- .../javascripts/discourse/routes/discovery-categories.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 b/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 index d3490644f..eb188510d 100644 --- a/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 +++ b/app/assets/javascripts/discourse/routes/discovery-categories.js.es6 @@ -42,7 +42,7 @@ const DiscoveryCategoriesRoute = Discourse.Route.extend(OpenComposer, { _loadCategoriesAndLatestTopics() { const wrappedCategoriesList = PreloadStore.get("categories_list"); const topicListLatest = PreloadStore.get("topic_list_latest"); - const categoriesList = wrappedCategoriesList && wrappedCategoriesList.categories_list; + const categoriesList = wrappedCategoriesList && wrappedCategoriesList.category_list; if (categoriesList && topicListLatest) { return new Ember.RSVP.Promise(resolve => { const result = Ember.Object.create({