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) => {
|
||||
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],
|
||||
})
|
||||
})*/
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue