Skip to content

Commit cccfc55

Browse files
disable toolip when dialog select has no selected options
1 parent 535a948 commit cccfc55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/acl/AclCreatePage/components/DialogSelect/DialogSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const DialogSelect = <T extends object, I extends number | string>({
6262
})}
6363
>
6464
<FloatingMenuProvider placement="top">
65-
<FloatingMenuTrigger asChild>
65+
<FloatingMenuTrigger asChild disabled={!selectedOptions.length}>
6666
<div
6767
className={clsx('track', {
6868
overflows,

0 commit comments

Comments
 (0)