diff --git a/.env.development b/.env.development index 16abac4..7a14d3e 100644 --- a/.env.development +++ b/.env.development @@ -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.563 +NEXT_PUBLIC_APP_VERSION=1.6.564 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index a2618a9..486112f 100644 --- a/.env.production +++ b/.env.production @@ -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.563 +NEXT_PUBLIC_APP_VERSION=1.6.564 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b8e9dd7..81293ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.564] – 2025-07-08 + +- refactor: extract Kabelueberwachung logic into KabelueberwachungView for better structure + +--- ## [1.6.563] – 2025-07-08 - refactor: move analog inputs logic to AnalogInputsView component diff --git a/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx b/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx index 6390e30..6cae8e2 100644 --- a/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx +++ b/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx @@ -2,9 +2,9 @@ // components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx import { useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import type { RootState, AppDispatch } from "../../../../../redux/store"; +import type { RootState, AppDispatch } from "@/redux/store"; import handleSave from "../handlers/handleSave"; -import handleDisplayEinschalten from "../handlers/handleDisplayEinschalten"; +import handleDisplayEinschalten from "@/components/main/kabelueberwachung/kue705FO/handlers/handleDisplayEinschalten"; import firmwareUpdate from "../handlers/firmwareUpdate"; import ProgressModal from "@/components/main/settingsPageComponents/modals/ProgressModal"; import { toast } from "react-toastify"; @@ -286,7 +286,7 @@ export default function KueEinstellung({ -
+
{isAdminLoggedIn && ( <> + + {/* Konfiguration sichern */} + + + {/* Konfiguration zurücksichern */} + )} {showConfirmModal && ( diff --git a/package-lock.json b/package-lock.json index 2503a5f..5916a5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.563", + "version": "1.6.564", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.563", + "version": "1.6.564", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 27ff339..f1d499a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.563", + "version": "1.6.564", "private": true, "scripts": { "dev": "next dev",