From b447a807571c525bf3d480f958475ba62d6de149 Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 30 Jun 2025 15:36:15 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20alle=20K=C3=9Cs=20Firmware=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ components/main/settingsPageComponents/GeneralSettings.tsx | 4 +++- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index f55b980..5ea6aff 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.509 +NEXT_PUBLIC_APP_VERSION=1.6.510 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 0b17c5c..276ffe3 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.509 +NEXT_PUBLIC_APP_VERSION=1.6.510 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 93baea0..073597a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.510] – 2025-06-30 + +- feat: handleKueFirmwareUpdate + +--- ## [1.6.509] – 2025-06-30 - feat: 1und 0 in Status in dashboard diff --git a/components/main/settingsPageComponents/GeneralSettings.tsx b/components/main/settingsPageComponents/GeneralSettings.tsx index bd01ec2..406d9df 100644 --- a/components/main/settingsPageComponents/GeneralSettings.tsx +++ b/components/main/settingsPageComponents/GeneralSettings.tsx @@ -18,7 +18,9 @@ const GeneralSettings: React.FC = () => { const systemSettings = useSelector( (state: RootState) => state.systemSettingsSlice ); - const isAdmin = useSelector((state: RootState) => state.authSlice?.isAdmin); + const isAdmin = useSelector( + (state: RootState) => state.authSlice?.isAdminLoggedIn + ); // const [error, setError] = useState(""); diff --git a/package-lock.json b/package-lock.json index e71948e..57a35ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.509", + "version": "1.6.510", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.509", + "version": "1.6.510", "dependencies": { "@fontsource/roboto": "^5.1.0", "@iconify-icons/ri": "^1.2.10", diff --git a/package.json b/package.json index 98d558d..cb5d1fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.509", + "version": "1.6.510", "private": true, "scripts": { "dev": "next dev",