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({