mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: prevents error when loading tag groups (#8983)
This commit is contained in:
@@ -47,7 +47,7 @@ export default MultiSelectComponent.extend(TagsMixin, {
|
||||
).then(results => {
|
||||
if (results && results.length) {
|
||||
return results.filter(r => {
|
||||
return !this.tagGroups.includes(this.getValue(r));
|
||||
return !makeArray(this.tagGroups).includes(this.getValue(r));
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user