Skip to content

Commit b39df80

Browse files
committed
fix: show fast record actions in the ShowView
1 parent 520bdbc commit b39df80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/views/ShowView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<template v-for="action in coreStore.resource.options.actions.filter(a => a.showIn?.showButton)" :key="action.id">
1616
<component
17-
:is="getCustomComponent(action.customComponent) || CallActionWrapper"
17+
:is="action?.customComponent ? getCustomComponent(action.customComponent) : CallActionWrapper"
1818
:meta="action.customComponent?.meta"
1919
@callAction="(payload?) => startCustomAction(action.id, payload)"
2020
:disabled="actionLoadingStates[action.id]"

0 commit comments

Comments
 (0)