forked from MapComplete/MapComplete
Fix: disable image upload button (see #2178)
This commit is contained in:
parent
91844ee00f
commit
cf74296d23
1 changed files with 3 additions and 2 deletions
|
@ -714,14 +714,15 @@ export default class SpecialVisualizations {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
constr: (state, tags, args) => {
|
constr: (state, tags, args) => {
|
||||||
const targetKey = args[0] === "" ? undefined : args[0]
|
return new FixedUiElement("Due to a technical limitation, image uploads are currently not possible").SetClass("subtle low-interaction p-4np")
|
||||||
|
/*const targetKey = args[0] === "" ? undefined : args[0]
|
||||||
return new SvelteUIElement(UploadImage, {
|
return new SvelteUIElement(UploadImage, {
|
||||||
state,
|
state,
|
||||||
tags,
|
tags,
|
||||||
targetKey,
|
targetKey,
|
||||||
labelText: args[1],
|
labelText: args[1],
|
||||||
image: args[2],
|
image: args[2],
|
||||||
})
|
})*/
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue