diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx index 077cd11..9e0f4bb 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx @@ -4,11 +4,14 @@ import Chart from "chart.js/auto"; import "chartjs-adapter-moment"; const LoopMeasurementChart = () => { - const chartRef = useRef(null); - const chartInstance = useRef(null); + const chartRef = useRef(null); + const chartInstance = useRef(null); // Daten aus dem Redux-Store abrufen - const chartData = useSelector((state) => state.chartData.data) ?? []; + const chartData = + useSelector( + (state: { chartData: { data: any[] } }) => state.chartData.data + ) ?? []; useEffect(() => { if (chartRef.current) { diff --git a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx index 9bd87e2..f6aae9b 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useRef } from "react"; import { useSelector } from "react-redux"; -import { RootState } from "../../../../redux/store"; +import { RootState } from "../../../../../../redux/store"; import Chart from "chart.js/auto"; import "chartjs-adapter-date-fns"; import { parseISO } from "date-fns"; diff --git a/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx b/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx index b75504d..297863c 100644 --- a/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx +++ b/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx @@ -435,13 +435,7 @@ const Kue705FO: React.FC = ({ - {activeButton === "Schleife" ? ( - - ) : ( - - )} - + /> )} ) : ( diff --git a/config/webVersion.ts b/config/webVersion.ts index a65e6df..5e33d1d 100644 --- a/config/webVersion.ts +++ b/config/webVersion.ts @@ -6,5 +6,5 @@ 2: Patch oder Hotfix (Bugfixes oder kleine Änderungen). */ -const webVersion = "1.6.48"; +const webVersion = "1.6.49"; export default webVersion;