forked from MapComplete/MapComplete
Fix(images): don't estimate an image if there are only images for 'panoramax:menu'
This commit is contained in:
parent
b63e9c0262
commit
0b5b56b48a
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ export default class AllImageProviders {
|
|||
if (AllImageProviders.dontLoadFromPrefixes.some((prefix) => v.startsWith(prefix))) {
|
||||
continue
|
||||
}
|
||||
if (k === prefix || k.startsWith(prefix + ":")) {
|
||||
if (k === prefix || k.match(new RegExp(prefix + ":[0-9]+"))) {
|
||||
count++
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue