diff --git a/extensions/tags/js/forum/src/addTagComposer.js b/extensions/tags/js/forum/src/addTagComposer.js index 05ae57905..3e5a4767f 100644 --- a/extensions/tags/js/forum/src/addTagComposer.js +++ b/extensions/tags/js/forum/src/addTagComposer.js @@ -10,7 +10,12 @@ export default function() { const tag = app.store.getBy('tags', 'slug', this.params().tags); if (tag) { - promise.then(component => component.tags = [tag]); + const parent = tag.parent(); + let tags = [tag]; + if (parent) { + tags.unshift(parent); + } + promise.then(component => component.tags = tags); } });