Fix: disable image upload button (see #2178)

This commit is contained in:
Pieter Vander Vennet 2024-09-25 21:22:55 +02:00
parent 91844ee00f
commit cf74296d23

View file

@ -714,14 +714,15 @@ export default class SpecialVisualizations {
},
],
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, {
state,
tags,
targetKey,
labelText: args[1],
image: args[2],
})
})*/
},
},
{