FIX: prevents error when loading tag groups (#8983)

This commit is contained in:
Joffrey JAFFEUX
2020-02-17 10:39:04 +01:00
committed by GitHub
parent d827430ea6
commit 9feace3388
2 changed files with 8 additions and 4 deletions

View File

@@ -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));
});
}
});