@@ -35,6 +35,10 @@
|
||||
allowedReason.includes(anlass) &&
|
||||
allowedTypes.includes(gebaeudetyp) && (leerStand === "bis 30") && (heizungsAlter === ">= 3");
|
||||
}
|
||||
|
||||
if ((gebaeudetyp || anlass || einheiten || sanierungsstatus || baujahr || heizungsAlter || leerStand) && window.parent) {
|
||||
window.parent.postMessage("", "*")
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,14 +1,9 @@
|
||||
---
|
||||
|
||||
import Layout from "#layouts/WidgetLayout.astro";
|
||||
import WelcherAusweisWidget from "#widgets/WelcherAusweisWidget.svelte";
|
||||
|
||||
const { vermittler } = Astro.params;
|
||||
|
||||
---
|
||||
|
||||
<Layout title="Welcher Energieausweis? - Widget">
|
||||
|
||||
<WelcherAusweisWidget client:load/>
|
||||
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user