forked from MapComplete/MapComplete
Fix: fix uploading images in the 'notes' theme
This commit is contained in:
parent
e4b75c1681
commit
5fd0314408
3 changed files with 9 additions and 4 deletions
|
@ -1113,7 +1113,7 @@ export default class SpecialVisualizations {
|
|||
constr: (state, tags, args, feature, layer) => {
|
||||
const id = tags.data[args[0] ?? "id"]
|
||||
tags = state.featureProperties.getStore(id)
|
||||
return new SvelteUIElement(UploadImage, { state, tags, layer })
|
||||
return new SvelteUIElement(UploadImage, { state, tags, layer, feature })
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue