feat: priorityConfig vollständig auf Redux umgestellt – Slice, Thunk und Service integriert und zentral ausgelagert

This commit is contained in:
ISA
2025-05-21 12:27:36 +02:00
parent 71a6aeef1c
commit 067eba95b5
7 changed files with 71 additions and 18 deletions

View File

@@ -0,0 +1,6 @@
// /services/database/fetchLocationDevicesService.js
export const fetchPriorityConfigService = async () => {
const response = await fetch("/api/talas_v5_DB/priorityConfig");
if (!response.ok) throw new Error("Fehler beim Laden der Prioritätskonfiguration");
return await response.json();
};