forked from MapComplete/MapComplete
Fix local caching by hiding latlon2country import
This commit is contained in:
parent
a4da937033
commit
5bcb879dfe
5 changed files with 8 additions and 9 deletions
|
@ -77,7 +77,7 @@ export default class MetaTagging {
|
|||
}
|
||||
|
||||
if(somethingChanged){
|
||||
State.state.allElements.getEventSourceById(feature.properties.id).ping()
|
||||
State.state?.allElements?.getEventSourceById(feature.properties.id)?.ping()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ export default class MetaTagging {
|
|||
for (const f of functions) {
|
||||
f(params, feature);
|
||||
}
|
||||
State.state.allElements.getEventSourceById(feature.properties.id).ping();
|
||||
State.state?.allElements?.getEventSourceById(feature.properties.id)?.ping();
|
||||
} catch (e) {
|
||||
console.error("While calculating a tag value: ", e)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue