forked from MapComplete/MapComplete
Add explicit api_url to config and testserver-mode indication, add id rewrite when changes are applied to fix image upload on a new object, various formatting fixes; version bump
This commit is contained in:
parent
39376c0012
commit
a4db7178f4
16 changed files with 277 additions and 192 deletions
|
@ -635,6 +635,9 @@ export default class SimpleMetaTaggers {
|
|||
isLazy: true,
|
||||
},
|
||||
(feature: Feature, layer: LayerConfig, tagsStore: UIEventSource<OsmTags>) => {
|
||||
if(tagsStore === undefined){
|
||||
return
|
||||
}
|
||||
Utils.AddLazyPropertyAsync(feature.properties, "_currency", async () => {
|
||||
// Wait until _country is actually set
|
||||
const tags = await tagsStore.AsPromise((tags) => !!tags._country)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue