From 9da7952a873f608e0b65956fe49f4a5d44ed8ef5 Mon Sep 17 00:00:00 2001 From: ISA Date: Thu, 20 Feb 2025 15:24:36 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20zweimal=20Messwert=20Durchschnitt=20wird?= =?UTF-8?q?=20angezeigt=20,=20durch=20else=20if=20gel=C3=B6st?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Charts/LoopMeasurementChart/LoopMeasurementChart.tsx | 5 ++--- config/webVersion.ts | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx index 1127923..fdaf13b 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx @@ -76,7 +76,7 @@ const LoopMeasurementChart = () => { } // Falls `g` vorhanden ist (DIA1/DIA2), wird es gezeichnet - if ( + else if ( selectedMode !== "DIA1" && processedData.some((entry) => entry.g !== undefined) ) { @@ -90,8 +90,7 @@ const LoopMeasurementChart = () => { backgroundColor: "rgba(75, 75, 192, 0.2)", fill: true, }); - } - if ( + } else if ( selectedMode !== "DIA2" && processedData.some((entry) => entry.g !== undefined) ) { diff --git a/config/webVersion.ts b/config/webVersion.ts index 89120fe..b31f774 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.70"; +const webVersion = "1.6.71"; export default webVersion;