mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
Fix logic for TagListState
This should load in the requested includes, not just parent and lastPostedDiscussion
This commit is contained in:
@@ -11,7 +11,7 @@ export default class TagListState {
|
||||
}
|
||||
|
||||
return app.store
|
||||
.find('tags', { include: 'parent,lastPostedDiscussion' })
|
||||
.find('tags', { include: unloadedIncludes.join(',') })
|
||||
.then(val => {
|
||||
unloadedIncludes.forEach(include => this.loadedIncludes.add(include));
|
||||
return val;
|
||||
|
Reference in New Issue
Block a user