fix: Chart Titel Isolationsmessung zu schleifenmessung

This commit is contained in:
ISA
2025-07-28 13:58:14 +02:00
parent 9a8a0501a5
commit 9457233c7d
8 changed files with 14 additions and 11 deletions

View File

@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.654
NEXT_PUBLIC_APP_VERSION=1.6.655
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.654
NEXT_PUBLIC_APP_VERSION=1.6.655
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.655] 2025-07-28
- cleanup: Kue705FO
---
## [1.6.654] 2025-07-28
- feat: ISO, RSL und TDR separate Charts ohne den Switcher

View File

@@ -32,8 +32,7 @@ export const useLoopChartLoader = () => {
type: number,
slotNumber: number
) => {
const typeFolder =
type === 3 ? "isolationswiderstand" : "schleifenwiderstand";
const typeFolder = "schleifenwiderstand";
let url: string;
@@ -113,8 +112,7 @@ const LoopChartActionBar: React.FC = () => {
type: number,
slotNumber: number
) => {
const typeFolder =
type === 3 ? "isolationswiderstand" : "schleifenwiderstand";
const typeFolder = "schleifenwiderstand";
const baseUrl =
process.env.NODE_ENV === "development"

View File

@@ -65,7 +65,7 @@ const LoopChartView: React.FC<LoopChartViewProps> = ({
// Reset Dropdowns
dispatch(setSelectedMode("DIA1"));
dispatch(setSelectedSlotType("isolationswiderstand"));
dispatch(setSelectedSlotType("schleifenwiderstand"));
// Sonstiges Reset
dispatch(setChartOpen(false));

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "cpl-v4",
"version": "1.6.654",
"version": "1.6.655",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cpl-v4",
"version": "1.6.654",
"version": "1.6.655",
"dependencies": {
"@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.654",
"version": "1.6.655",
"private": true,
"scripts": {
"dev": "next dev",

View File

@@ -6,7 +6,7 @@ interface LoopChartTypeState {
}
const initialState: LoopChartTypeState = {
chartTitle: "Isolationsmessung", // Standardwert
chartTitle: "Schleifenmessung", // Standardwert
};
const loopChartTypeSlice = createSlice({