Fix issue with buttons inside grids when no actions are defined

This commit is contained in:
Andrew Kingston 2023-11-07 13:01:50 +00:00
parent 20f9fd5d1b
commit 57e3b1ad08
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
type: settings.type,
onClick: async row => {
const fn = enrichButtonActions(settings.onClick, get(context))
return await fn({ row })
return await fn?.({ row })
},
}))
}