forked from MapComplete/MapComplete
Merge pull request 'Make estimateNumberOfImages work for non-string values' (#2405) from ilja_space/MapComplete:fix_pictures_not_showing into develop
Reviewed-on: MapComplete/MapComplete#2405
This commit is contained in:
commit
9d19cdcec2
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ export default class AllImageProviders {
|
|||
for (const prefix of allPrefixes) {
|
||||
for (const k in tags) {
|
||||
const v = tags[k]
|
||||
if (!v) {
|
||||
if (!v || typeof(v) !== 'string') {
|
||||
continue
|
||||
}
|
||||
if (AllImageProviders.dontLoadFromPrefixes.some(prefix => v.startsWith(prefix))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue