Fix: various small fixes

This commit is contained in:
Pieter Vander Vennet 2024-12-26 23:19:47 +01:00
parent e7f0291038
commit 5284d94427
6 changed files with 17 additions and 15 deletions

View file

@ -312,8 +312,8 @@ export default class NameSuggestionIndex {
}
const hasSpecial =
i.locationSet.include?.some((i) => i.endsWith(".geojson") || Array.isArray(i)) ||
i.locationSet.exclude?.some((i) => i.endsWith(".geojson") || Array.isArray(i))
i.locationSet.include?.some((i) => Array.isArray(i) || i.endsWith(".geojson")) ||
i.locationSet.exclude?.some((i) => Array.isArray(i) || i.endsWith(".geojson"))
if (!hasSpecial) {
return false
}