forked from MapComplete/MapComplete
Fix: fix MapComplete/MapComplete#2307
This commit is contained in:
parent
963eabae23
commit
52d4adee84
2 changed files with 28 additions and 11 deletions
|
@ -90,6 +90,9 @@ export default class AllImageProviders {
|
|||
const allPrefixes = Utils.Dedup(prefixes ?? [].concat(...sources.map(s => s.defaultKeyPrefixes)))
|
||||
for (const prefix of allPrefixes) {
|
||||
for (const k in tags) {
|
||||
if (!tags[k]) {
|
||||
continue
|
||||
}
|
||||
if (k === prefix || k.startsWith(prefix + ":")) {
|
||||
count++
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue