Deselecting Clients in Kanban View

This commit is contained in:
2025-06-30 19:13:44 +00:00
parent 7d7204e7c6
commit 10b32b9a20

View File

@@ -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 {