Update Authentication + Build Script
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
import { Gebaeude } from "src/lib/Gebaeude";
|
||||
import HelpLabel from "~/components/HelpLabel.svelte";
|
||||
import { auditHeizungGebaeudeBaujahr } from "../Verbrauchsausweis/audits/HeizungGebaeudeBaujahr";
|
||||
import { addNotification, deleteNotification } from "../Notifications/shared";
|
||||
import { addNotification, deleteNotification } from "@ibcornelsen/ui";
|
||||
import TagInput from "../TagInput.svelte";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
export let gebaeude: Gebaeude;
|
||||
|
||||
// TODO: Das ist scheise
|
||||
let tags = writable([]);
|
||||
|
||||
$: ausweis = gebaeude.ausweis || new Verbrauchsausweis();
|
||||
|
||||
let baujahr = writable(gebaeude.baujahr);
|
||||
let baujahrAnlage = writable(gebaeude.ausweis.baujahr_anlage);
|
||||
</script>
|
||||
|
||||
<div class="GRB">
|
||||
@@ -96,9 +96,7 @@
|
||||
deleteNotification("HEIZUNG_BAUJAHR")
|
||||
}}
|
||||
className="{auditHeizungGebaeudeBaujahr(gebaeude) ? "linked" : ""}"
|
||||
required
|
||||
autocomplete="off"
|
||||
bind:tags
|
||||
bind:tags={baujahrAnlage}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -133,9 +131,7 @@
|
||||
deleteNotification("GEBAEUDE_BAUJAHR")
|
||||
}}
|
||||
className="{auditHeizungGebaeudeBaujahr(gebaeude) ? "linked" : ""}"
|
||||
required
|
||||
autocomplete="off"
|
||||
bind:tags
|
||||
bind:tags={baujahr}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user