diff --git a/package.json b/package.json index 9877e15575..6a59ebb770 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/UI/SpecialVisualizations.ts b/src/UI/SpecialVisualizations.ts index ce917c6851..9cc631d582 100644 --- a/src/UI/SpecialVisualizations.ts +++ b/src/UI/SpecialVisualizations.ts @@ -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], })