diff --git a/dashboard/src/infoscreen_groups.tsx b/dashboard/src/infoscreen_groups.tsx index 1f3d5f0..fd8914d 100644 --- a/dashboard/src/infoscreen_groups.tsx +++ b/dashboard/src/infoscreen_groups.tsx @@ -27,6 +27,10 @@ interface KanbanDragEventArgs { [key: string]: unknown; } +interface KanbanComponentWithClear extends KanbanComponentType { + clearSelection: () => void; +} + const de = { title: 'Gruppen', newGroup: 'Neue Raumgruppe', @@ -275,6 +279,13 @@ const Infoscreen_groups: React.FC = () => { Summary: c.location || `Client ${i + 1}`, })) ); + // Nach dem Laden: Karten deselektieren + setTimeout(() => { + (kanbanRef.current as KanbanComponentWithClear)?.clearSelection(); + setTimeout(() => { + (kanbanRef.current as KanbanComponentWithClear)?.clearSelection(); + }, 100); + }, 50); }); }); } catch {