mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
Fix wrong subtags listing in sidebar
This commit is contained in:
parent
09e031ae23
commit
a0f4dcc62a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user