From 4acca5591c95ffc27a55bc711d3ff754ce2ab79c Mon Sep 17 00:00:00 2001 From: Jens Cornelsen <79703163+IB-Cornelsen@users.noreply.github.com> Date: Tue, 29 Apr 2025 18:00:31 +0200 Subject: [PATCH] Fix ausweistyp --- .../BedarfsausweisWohnen/BedarfsausweisWohnenModule.svelte | 3 ++- .../VerbrauchsausweisGewerbeModule.svelte | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/BedarfsausweisWohnen/BedarfsausweisWohnenModule.svelte b/src/modules/BedarfsausweisWohnen/BedarfsausweisWohnenModule.svelte index f36d3fcd..a24563a1 100644 --- a/src/modules/BedarfsausweisWohnen/BedarfsausweisWohnenModule.svelte +++ b/src/modules/BedarfsausweisWohnen/BedarfsausweisWohnenModule.svelte @@ -57,7 +57,8 @@ "bedarfsausweis-wohnen.ausweis" ); if (localStorageAusweis) { - ausweis = JSON.parse(localStorageAusweis); + ausweis = JSON.parse(localStorageAusweis) + ausweis.ausweistyp = ausweistyp; } const localStorageAufnahme = localStorage.getItem( diff --git a/src/modules/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbeModule.svelte b/src/modules/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbeModule.svelte index 7932b514..98484686 100644 --- a/src/modules/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbeModule.svelte +++ b/src/modules/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbeModule.svelte @@ -63,6 +63,7 @@ const localStorageAusweis = localStorage.getItem("verbrauchsausweis-gewerbe.ausweis"); if (localStorageAusweis) { ausweis = JSON.parse(localStorageAusweis) + ausweis.ausweistyp = ausweistyp; } const localStorageAufnahme = localStorage.getItem("verbrauchsausweis-gewerbe.aufnahme");