@johmun/vue-tags-input
Advanced tools
Comparing version 1.5.6 to 1.5.7
{ | ||
"name": "@johmun/vue-tags-input", | ||
"version": "1.5.6", | ||
"version": "1.5.7", | ||
"author": "Johannes Munari <johannesm@hotmail.de>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -39,4 +39,8 @@ // The file contains the main application logic | ||
}); | ||
if (!this.autocompleteFilterDuplicates) return is; | ||
return is.filter(i => !this.tagsCopy.find(t => t.text === i.text)); | ||
const filtering = tag => this.isDuplicate | ||
? !this.isDuplicate(this.tagsCopy, tag) | ||
: !this.tagsCopy.find(t => t.text === tag.text); | ||
return is.filter(filtering); | ||
}, | ||
@@ -43,0 +47,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1685425
108
1715