mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
FIX: prevents error when opening a composer from a tag page (#10596)
This commit is contained in:
parent
58b97ace23
commit
ed05839dfc
@ -1,3 +1,4 @@
|
||||
import { makeArray } from "discourse-common/lib/helpers";
|
||||
import I18n from "I18n";
|
||||
import DiscourseRoute from "discourse/routes/discourse";
|
||||
import Composer from "discourse/models/composer";
|
||||
@ -199,7 +200,7 @@ export default DiscourseRoute.extend(FilterModeMixin, {
|
||||
"tags",
|
||||
[
|
||||
controller.get("model.id"),
|
||||
...controller.get("additionalTags"),
|
||||
...makeArray(controller.additionalTags),
|
||||
].filter(Boolean)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user