File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 4444 </div >
4545 </li >
4646 <li v-for =" action in customActions" :key =" action.id" >
47- <component
48- :is =" (action.customComponent && getCustomComponent(action.customComponent)) || CallActionWrapper"
49- :meta =" action.customComponent?.meta"
50- @callAction =" (payload? : Object) => handleActionClick(action, payload)"
51- >
52- <a href =" #" @click.prevent class =" block px-4 py-2 hover:text-lightThreeDotsMenuBodyTextHover hover:bg-lightThreeDotsMenuBodyBackgroundHover dark:hover:bg-darkThreeDotsMenuBodyBackgroundHover dark:hover:text-darkThreeDotsMenuBodyTextHover" >
53- <div class =" flex items-center gap-2" >
54- <component
55- v-if =" action.icon"
56- :is =" getIcon(action.icon)"
57- class =" w-4 h-4 text-lightPrimary dark:text-darkPrimary"
58- />
59- {{ action.name }}
60- </div >
61- </a >
62- </component >
47+ <div class =" wrapper" >
48+ <component
49+ :is =" (action.customComponent && getCustomComponent(action.customComponent)) || CallActionWrapper"
50+ :meta =" action.customComponent?.meta"
51+ @callAction =" (payload? : Object) => handleActionClick(action, payload)"
52+ >
53+ <a href =" #" @click.prevent class =" block px-4 py-2 hover:text-lightThreeDotsMenuBodyTextHover hover:bg-lightThreeDotsMenuBodyBackgroundHover dark:hover:bg-darkThreeDotsMenuBodyBackgroundHover dark:hover:text-darkThreeDotsMenuBodyTextHover" >
54+ <div class =" flex items-center gap-2" >
55+ <component
56+ v-if =" action.icon"
57+ :is =" getIcon(action.icon)"
58+ class =" w-4 h-4 text-lightPrimary dark:text-darkPrimary"
59+ />
60+ {{ action.name }}
61+ </div >
62+ </a >
63+ </component >
64+ </div >
6365 </li >
6466 <li v-for =" action in (bulkActions ?? []).filter(a => a.showInThreeDotsDropdown)" :key =" action.id" >
6567 <a href =" #" @click.prevent =" startBulkAction(action.id)"
You can’t perform that action at this time.
0 commit comments