mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 00:01:55 +00:00
consistent add item button
This commit is contained in:
@@ -957,8 +957,8 @@
|
||||
variant="border"
|
||||
color="light"
|
||||
size="xs"
|
||||
btnClasses="text-tertiary"
|
||||
wrapperClasses="w-full mt-2"
|
||||
btnClasses="text-tertiary py-2.5"
|
||||
wrapperClasses="w-full {Array.isArray(value) && value.length > 0 ? 'mt-1.5' : ''}"
|
||||
on:click={() => {
|
||||
if (value == undefined || !Array.isArray(value)) {
|
||||
value = []
|
||||
|
||||
Reference in New Issue
Block a user