mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-08 00:02:27 +00:00
arg enum small fix
This commit is contained in:
@@ -16,13 +16,11 @@
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
let customItems: Array<{
|
||||
value: string
|
||||
label: string
|
||||
}> = []
|
||||
let customItems: string[] = []
|
||||
|
||||
function onCreate(newItem: string) {
|
||||
customItems = [...customItems, { value: newItem, label: newItem }]
|
||||
console.log(newItem)
|
||||
customItems = [...customItems, newItem]
|
||||
|
||||
return newItem
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user