mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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) => {
|
this.set("additionalTags", params.additional_tags.split('/').map((t) => {
|
||||||
return this.store.createRecord("tag", { id: Handlebars.Utils.escapeExpression(t) }).id;
|
return this.store.createRecord("tag", { id: Handlebars.Utils.escapeExpression(t) }).id;
|
||||||
}));
|
}));
|
||||||
|
} else {
|
||||||
|
this.set('additionalTags', null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.category) {
|
if (params.category) {
|
||||||
|
Loading…
Reference in New Issue
Block a user