File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 17
17
<li v-for =" item in threeDotsDropdownItems" :key =" `dropdown-item-${item.label}`" >
18
18
<a href =" #"
19
19
class =" block px-4 py-2 hover:bg-lightThreeDotsMenuBodyBackgroundHover hover:text-lightThreeDotsMenuBodyTextHover dark:hover:bg-darkThreeDotsMenuBodyBackgroundHover dark:hover:text-darkThreeDotsMenuBodyTextHover"
20
- >
20
+ :class =" {
21
+ 'pointer-events-none': checkboxes && checkboxes.length === 0 && item.meta?.disabledWhenNoCheckboxes,
22
+ 'opacity-50': checkboxes && checkboxes.length === 0 && item.meta?.disabledWhenNoCheckboxes,
23
+ 'cursor-not-allowed': checkboxes && checkboxes.length === 0 && item.meta?.disabledWhenNoCheckboxes,
24
+ }" >
21
25
<component :is =" getCustomComponent(item)"
22
26
:meta =" item.meta"
23
27
:resource =" coreStore.resource"
You can’t perform that action at this time.
0 commit comments