forked from MapComplete/MapComplete
Fix: #1685, fix oopsie
This commit is contained in:
parent
480956d45d
commit
d96fe61462
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mapcomplete",
|
||||
"version": "0.33.11",
|
||||
"version": "0.33.12",
|
||||
"repository": "https://github.com/pietervdvn/MapComplete",
|
||||
"description": "A small website to edit OSM easily",
|
||||
"bugs": "https://github.com/pietervdvn/MapComplete/issues",
|
||||
|
|
|
@ -688,10 +688,11 @@ export default class SpecialVisualizations {
|
|||
},
|
||||
],
|
||||
constr: (state, tags, args) => {
|
||||
const targetKey = args[0] === "" ? undefined : args[0]
|
||||
return new SvelteUIElement(UploadImage, {
|
||||
state,
|
||||
tags,
|
||||
targetKey: args[0],
|
||||
targetKey,
|
||||
labelText: args[1],
|
||||
image: args[2],
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue