diff --git a/src/components/design-to-light/DTLPanel.vue b/src/components/design-to-light/DTLPanel.vue index 5cfd6fd..e6b1075 100644 --- a/src/components/design-to-light/DTLPanel.vue +++ b/src/components/design-to-light/DTLPanel.vue @@ -174,7 +174,11 @@ const { proposals } = defineProps({ const { openedFile } = storeToRefs(useDialogStore()); const isDialogOpen = computed(() => { - return openedFile.value != null; + if (openedFile.value) { + return true; + } else { + return false; + } }); const isOptimizationDialogOpen = ref(false);