diff --git a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx index b1810f3..6227c9f 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx @@ -31,31 +31,44 @@ const TDRChartActionBar: React.FC = () => { if (!data) return; dispatch(setTDRChartDataById({ id, data })); - dispatch(setSelectedTDRId(id)); // 👉 wichtig! + dispatch(setSelectedTDRId(id)); + }; + + const handleReset = () => { + setSelectedId(null); + dispatch(setSelectedTDRId(null)); }; return ( -