mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Merge pull request #4429 from xfalcox/fix-new-category-avatars
FIX: Avatars on new category page
This commit is contained in:
commit
e564f9356e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ const DiscoveryCategoriesRoute = Discourse.Route.extend(OpenComposer, {
|
||||||
_loadCategoriesAndLatestTopics() {
|
_loadCategoriesAndLatestTopics() {
|
||||||
const wrappedCategoriesList = PreloadStore.get("categories_list");
|
const wrappedCategoriesList = PreloadStore.get("categories_list");
|
||||||
const topicListLatest = PreloadStore.get("topic_list_latest");
|
const topicListLatest = PreloadStore.get("topic_list_latest");
|
||||||
const categoriesList = wrappedCategoriesList && wrappedCategoriesList.categories_list;
|
const categoriesList = wrappedCategoriesList && wrappedCategoriesList.category_list;
|
||||||
if (categoriesList && topicListLatest) {
|
if (categoriesList && topicListLatest) {
|
||||||
return new Ember.RSVP.Promise(resolve => {
|
return new Ember.RSVP.Promise(resolve => {
|
||||||
const result = Ember.Object.create({
|
const result = Ember.Object.create({
|
||||||
|
|
Loading…
Reference in a new issue