FIX: navigating from tags intersection route to singular tag route

This commit is contained in:
Neil Lalonde 2016-08-16 14:06:38 -04:00
parent d835326406
commit d29ccb5e48
1 changed files with 2 additions and 0 deletions

View File

@ -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) {