Auto select first available row action
This commit is contained in:
parent
232a2829d2
commit
2a02298ac2
|
@ -18,7 +18,6 @@
|
|||
tableId: view.tableId,
|
||||
resourceId: view.id,
|
||||
}))
|
||||
$: console.log($viewsV2.list)
|
||||
$: datasourceOptions = [...(tableOptions || []), ...(viewOptions || [])]
|
||||
$: resourceId = parameters.resourceId
|
||||
$: fetchRowActions(resourceId)
|
||||
|
@ -46,6 +45,9 @@
|
|||
console.error(err)
|
||||
rowActions = []
|
||||
}
|
||||
|
||||
// Auto select first action
|
||||
parameters.rowActionId = rowActions[0]?.id
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue