File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 16
16
<ul class =" py-2 text-sm text-lightThreeDotsMenuBodyText dark:text-darkThreeDotsMenuBodyText" aria-labelledby =" dropdownMenuIconButton" >
17
17
<li v-for =" item in threeDotsDropdownItems" :key =" `dropdown-item-${item.label}`" >
18
18
<a href =" #"
19
- class =" block px-4 py-2 hover:bg-lightThreeDotsMenuBodyBackgroundHover hover:text-lightThreeDotsMenuBodyTextHover dark:hover:bg-darkThreeDotsMenuBodyBackgroundHover dark:hover:text-darkThreeDotsMenuBodyTextHover"
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.length,
22
- 'opacity-50': ! checkboxes.length,
23
- 'cursor-not-allowed': ! checkboxes.length,
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
24
}" >
25
25
<component :is =" getCustomComponent(item)"
26
26
:meta =" item.meta"
You can’t perform that action at this time.
0 commit comments