diff --git a/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx b/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx index 56fbcba89..990b0dd3c 100644 --- a/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx +++ b/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx @@ -39,6 +39,7 @@ import { XCircle, } from 'lucide-react'; import { Button } from '@/components/ui/button'; +import { Switch } from '@/components/ui/switch'; import { Badge } from '@/components/ui/badge'; import { Popover, @@ -1211,7 +1212,7 @@ function BindingCardContent({ return (
)} + {!isEnabled &&
- {/* disabled section */} - {disabledBindings.length > 0 && ( -
- - {disabledSectionOpen && ( -
- {disabledBindings.map(({ b, i }) => ( - - ))} -
- )} -
- )} + ); }