FIX: Avatars on new category page
This commit is contained in:
parent
591dab1bb5
commit
8fc556f81a
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue