diff --git a/components/main/kabelueberwachung/kue705FO/Charts/ChartSwitcher.tsx b/components/main/kabelueberwachung/kue705FO/Charts/ChartSwitcher.tsx index 4d829fc..1851352 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/ChartSwitcher.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/ChartSwitcher.tsx @@ -32,6 +32,9 @@ const ChartSwitcher: React.FC = ({ slotIndex, }) => { const dispatch = useDispatch(); + const chartTitle = useSelector( + (state: RootState) => state.loopChartType.chartTitle + ); // **Redux-States für aktive Messkurve (TDR oder Schleife)** const activeMode = useSelector( @@ -146,7 +149,7 @@ const ChartSwitcher: React.FC = ({ > {activeMode === "Schleife" ? ( <> -

Schleifenmessung

+

{chartTitle}

diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx index c3fae95..89a643a 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx @@ -12,6 +12,7 @@ import { setChartOpen, } from "../../../../../../redux/slices/kabelueberwachungChartSlice"; import { setBrushRange } from "../../../../../../redux/slices/brushSlice"; +import { setChartTitle } from "../../../../../../redux/slices/loopChartTypeSlice"; const LoopChartActionBar: React.FC = () => { const dispatch = useDispatch(); @@ -154,13 +155,19 @@ const LoopChartActionBar: React.FC = () => {