We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 520bdbc commit b39df80Copy full SHA for b39df80
1 file changed
adminforth/spa/src/views/ShowView.vue
@@ -14,7 +14,7 @@
14
15
<template v-for="action in coreStore.resource.options.actions.filter(a => a.showIn?.showButton)" :key="action.id">
16
<component
17
- :is="getCustomComponent(action.customComponent) || CallActionWrapper"
+ :is="action?.customComponent ? getCustomComponent(action.customComponent) : CallActionWrapper"
18
:meta="action.customComponent?.meta"
19
@callAction="(payload?) => startCustomAction(action.id, payload)"
20
:disabled="actionLoadingStates[action.id]"
0 commit comments