From e428d6fdaf2904ee126b709df2ea3264dca73011 Mon Sep 17 00:00:00 2001 From: Anthony Tarlao Date: Fri, 25 Aug 2023 10:32:50 +0200 Subject: [PATCH] Default value for container height --- ui/apos/components/AposExportModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/apos/components/AposExportModal.vue b/ui/apos/components/AposExportModal.vue index 41e8d391..cbe4f0f2 100644 --- a/ui/apos/components/AposExportModal.vue +++ b/ui/apos/components/AposExportModal.vue @@ -238,7 +238,7 @@ export default { } }); this.checkedRelatedTypes = this.relatedTypes; - const height = this.checkedRelatedTypes.length * 24 + 95; + const height = this.checkedRelatedTypes.length ? this.checkedRelatedTypes.length * 24 + 95 : 120; document.documentElement.style.setProperty('--container-height', `${height}px`); } },