Deselecting Clients in Kanban View
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user