diff --git a/apps/web/components/shared/action-panel.tsx b/apps/web/components/shared/action-panel.tsx index 84e7a07..495e4e9 100644 --- a/apps/web/components/shared/action-panel.tsx +++ b/apps/web/components/shared/action-panel.tsx @@ -23,6 +23,9 @@ export default function FloatingActionPanel({ onRepeat, onToggle, }: FloatingActionPanelProps) { + // Если не переданы обработчики, скрываем панель + if (!onCancel && !onConfirm && !onDelete && !onRepeat && !onToggle) return null; + // Если слот отменяется, показываем статус вместо кнопок if (isCancelling) { return (