Fix ausweistyp

This commit is contained in:
Jens Cornelsen
2025-04-29 18:00:31 +02:00
parent e18f27675d
commit 4acca5591c
2 changed files with 3 additions and 1 deletions

View File

@@ -57,7 +57,8 @@
"bedarfsausweis-wohnen.ausweis" "bedarfsausweis-wohnen.ausweis"
); );
if (localStorageAusweis) { if (localStorageAusweis) {
ausweis = JSON.parse(localStorageAusweis); ausweis = JSON.parse(localStorageAusweis)
ausweis.ausweistyp = ausweistyp;
} }
const localStorageAufnahme = localStorage.getItem( const localStorageAufnahme = localStorage.getItem(

View File

@@ -63,6 +63,7 @@
const localStorageAusweis = localStorage.getItem("verbrauchsausweis-gewerbe.ausweis"); const localStorageAusweis = localStorage.getItem("verbrauchsausweis-gewerbe.ausweis");
if (localStorageAusweis) { if (localStorageAusweis) {
ausweis = JSON.parse(localStorageAusweis) ausweis = JSON.parse(localStorageAusweis)
ausweis.ausweistyp = ausweistyp;
} }
const localStorageAufnahme = localStorage.getItem("verbrauchsausweis-gewerbe.aufnahme"); const localStorageAufnahme = localStorage.getItem("verbrauchsausweis-gewerbe.aufnahme");