Merge pull request #272 from IBCornelsen/main

Update Jens
This commit is contained in:
Jens Cornelsen
2025-01-05 16:59:10 +01:00
committed by GitHub
2 changed files with 6 additions and 5 deletions

View File

@@ -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>

View File

@@ -1,12 +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>