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_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer # 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) 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_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.654 NEXT_PUBLIC_APP_VERSION=1.6.655
NEXT_PUBLIC_CPL_MODE=production 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 ## [1.6.654] 2025-07-28
- feat: ISO, RSL und TDR separate Charts ohne den Switcher - feat: ISO, RSL und TDR separate Charts ohne den Switcher

View File

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

View File

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

4
package-lock.json generated
View File

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

View File

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

View File

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