From 8ee7c9c193ad0547f4264a37198f2936af6f322d Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 7 Jul 2025 13:51:54 +0200 Subject: [PATCH] fix: es soll dann nur wenn der Button Anziegen geklickt wird anzeigenund nicht automatisch nach ein Datumauswahl --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 9 +++++++++ components/main/reports/MeldungenView.tsx | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index cec1233..ac445e3 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.546 +NEXT_PUBLIC_APP_VERSION=1.6.547 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 c46dd75..2222322 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.546 +NEXT_PUBLIC_APP_VERSION=1.6.547 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index caa781b..40b968d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [1.6.547] – 2025-07-07 + +- refactor: API-Handler umbenannt zu messages.ts für klare REST-Struktur + +- getMessagesAPIHandler.ts in messages.ts umbenannt +- API ist nun unter /api/cpl/messages erreichbar +- Dateiname entspricht Next.js- und REST-Konventionen + +--- ## [1.6.546] – 2025-07-07 - style: UI-Filterzeile visuell vereinheitlicht – vertikale Ausrichtung und Höhe angepasst diff --git a/components/main/reports/MeldungenView.tsx b/components/main/reports/MeldungenView.tsx index 83d2052..5e624eb 100644 --- a/components/main/reports/MeldungenView.tsx +++ b/components/main/reports/MeldungenView.tsx @@ -34,7 +34,7 @@ export default function MeldungenView() { useEffect(() => { dispatch(getMessagesThunk({ fromDate, toDate })); - }, [dispatch, fromDate, toDate]); + }, []); const filteredMessages = sourceFilter === "Alle Quellen" diff --git a/package-lock.json b/package-lock.json index 6744809..7770d7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.546", + "version": "1.6.547", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.546", + "version": "1.6.547", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 23c5d8e..3466a77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.546", + "version": "1.6.547", "private": true, "scripts": { "dev": "next dev",