mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-15 04:29:37 +01:00
chore(deps): migrate to eslint 9 (#2443)
This commit is contained in:
@@ -38,7 +38,7 @@ const labels = computed({
|
||||
|
||||
const showCreateOption = (query, results) => {
|
||||
const lowercaseQuery = String.prototype.toLowerCase.apply(query || '')
|
||||
return lowercaseQuery.length >= 3 && !results.find(option => {
|
||||
return lowercaseQuery.length >= 3 && !results.find((option) => {
|
||||
return String.prototype.toLowerCase.apply(option['name'] || '') === lowercaseQuery
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user