Skip to content

Commit b1ca1f8

Browse files
author
Vitalii Kulyk
committed
fix: add conditional rendering for custom component in ThreeDotsMenu
1 parent eb1199c commit b1ca1f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adminforth/spa/src/components/ThreeDotsMenu.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<li v-for="action in customActions" :key="action.id">
4747
<div class="wrapper">
4848
<component
49+
v-if="action.customComponent"
4950
:is="(action.customComponent && getCustomComponent(formatComponent(action.customComponent))) || CallActionWrapper"
5051
:meta="formatComponent(action.customComponent).meta"
5152
@callAction="(payload? : Object) => handleActionClick(action, payload)"

0 commit comments

Comments
 (0)