FIX: navigating from tags intersection route to singular tag route
This commit is contained in:
parent
d835326406
commit
d29ccb5e48
|
@ -18,6 +18,8 @@ export default Discourse.Route.extend({
|
|||
this.set("additionalTags", params.additional_tags.split('/').map((t) => {
|
||||
return this.store.createRecord("tag", { id: Handlebars.Utils.escapeExpression(t) }).id;
|
||||
}));
|
||||
} else {
|
||||
this.set('additionalTags', null);
|
||||
}
|
||||
|
||||
if (params.category) {
|
||||
|
|
Loading…
Reference in New Issue