mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: regression preventing addition of multiple tags in a group
This commit is contained in:
@@ -49,7 +49,8 @@ export default Ember.Mixin.create({
|
||||
}
|
||||
|
||||
const inCollection = this.get("collectionComputedContent").map(c => get(c, "id")).includes(term);
|
||||
const inSelection = this.get("selection").map(s => s.toLowerCase()).includes(term);
|
||||
|
||||
const inSelection = this.get("selection").map(s => get(s, "value").toLowerCase()).includes(term);
|
||||
if (inCollection || inSelection) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user