FIX: tag intersection not populating (#6296)
* Fix for tag intersection not populating * Fix prettier * Add acceptance test for tags intersection
This commit is contained in:
@@ -184,9 +184,11 @@ export default Discourse.Route.extend({
|
||||
var c = self.controllerFor("composer").get("model");
|
||||
c.set(
|
||||
"tags",
|
||||
_.flatten(
|
||||
[controller.get("model.id")],
|
||||
controller.get("additionalTags")
|
||||
_.compact(
|
||||
_.flatten([
|
||||
controller.get("model.id"),
|
||||
controller.get("additionalTags")
|
||||
])
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user