From 4538df451615cb9b469e7a14c7ef931b320517c5 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Wed, 19 Mar 2025 14:38:59 +0100 Subject: [PATCH] fix: template Usage form reading --- .../configuration/templateUsage/TemplateUsageListItem.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/admin/configuration/templateUsage/TemplateUsageListItem.vue b/src/components/admin/configuration/templateUsage/TemplateUsageListItem.vue index 021b55d..f76ffd5 100644 --- a/src/components/admin/configuration/templateUsage/TemplateUsageListItem.vue +++ b/src/components/admin/configuration/templateUsage/TemplateUsageListItem.vue @@ -134,8 +134,8 @@ export default defineComponent({ const headerId = fromData.header.value === "def" ? null : fromData.header.value; const bodyId = fromData.body.value === "def" ? null : fromData.body.value; const footerId = fromData.footer.value === "def" ? null : fromData.footer.value; - const headerHeight = fromData.footer.value === "" ? null : parseInt(fromData.headerHeight.value); - const footerHeight = fromData.footer.value === "" ? null : parseInt(fromData.footerHeight.value); + const headerHeight = fromData.headerHeight.value === "" ? null : parseInt(fromData.headerHeight.value); + const footerHeight = fromData.footerHeight.value === "" ? null : parseInt(fromData.footerHeight.value); this.status = "loading"; this.updateTemplateUsage({