Fix cache build

This commit is contained in:
Pieter Vander Vennet 2023-01-31 18:21:06 +01:00
parent 8d33616a5f
commit aef573d37c

View file

@ -499,7 +499,7 @@ export default class SimpleMetaTaggers {
return false
}
OsmObject.DownloadReferencingWays(id).then((referencingWays) => {
const currentTagsSource = state.allElements.getEventSourceById(id)
const currentTagsSource = state.allElements?.getEventSourceById(id) ?? []
const wayIds = referencingWays.map((w) => "way/" + w.id)
wayIds.sort()
const wayIdsStr = wayIds.join(";")