Fix issue with buttons inside grids when no actions are defined
This commit is contained in:
parent
20f9fd5d1b
commit
57e3b1ad08
|
@ -54,7 +54,7 @@
|
||||||
type: settings.type,
|
type: settings.type,
|
||||||
onClick: async row => {
|
onClick: async row => {
|
||||||
const fn = enrichButtonActions(settings.onClick, get(context))
|
const fn = enrichButtonActions(settings.onClick, get(context))
|
||||||
return await fn({ row })
|
return await fn?.({ row })
|
||||||
},
|
},
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue