mirror of
https://github.com/flarum/core.git
synced 2025-08-07 17:07:19 +02:00
Fix wrong subtags listing in sidebar
This commit is contained in:
@@ -22,11 +22,11 @@ export default class TagsPage extends Page {
|
||||
if (preloaded) {
|
||||
this.tags = sortTags(preloaded.filter(tag => !tag.isChild()));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.loading = true;
|
||||
|
||||
app.tagList.load(['children', 'lastPostedDiscussion']).then(() => {
|
||||
app.tagList.load(['children', 'lastPostedDiscussion', 'parent']).then(() => {
|
||||
this.tags = sortTags(app.store.all('tags').filter(tag => !tag.isChild()));
|
||||
|
||||
this.loading = false;
|
||||
|
Reference in New Issue
Block a user