fix: template Usage form reading

This commit is contained in:
Julian Krauser 2025-03-19 14:38:59 +01:00
parent 5d79a4e1c2
commit 4538df4516

View file

@ -134,8 +134,8 @@ export default defineComponent({
const headerId = fromData.header.value === "def" ? null : fromData.header.value; const headerId = fromData.header.value === "def" ? null : fromData.header.value;
const bodyId = fromData.body.value === "def" ? null : fromData.body.value; const bodyId = fromData.body.value === "def" ? null : fromData.body.value;
const footerId = fromData.footer.value === "def" ? null : fromData.footer.value; const footerId = fromData.footer.value === "def" ? null : fromData.footer.value;
const headerHeight = fromData.footer.value === "" ? null : parseInt(fromData.headerHeight.value); const headerHeight = fromData.headerHeight.value === "" ? null : parseInt(fromData.headerHeight.value);
const footerHeight = fromData.footer.value === "" ? null : parseInt(fromData.footerHeight.value); const footerHeight = fromData.footerHeight.value === "" ? null : parseInt(fromData.footerHeight.value);
this.status = "loading"; this.status = "loading";
this.updateTemplateUsage({ this.updateTemplateUsage({