diff --git a/client/src/layouts/SimpleLayout.vue b/client/src/layouts/SimpleLayout.vue index 52ac2b28..b44c9f6c 100644 --- a/client/src/layouts/SimpleLayout.vue +++ b/client/src/layouts/SimpleLayout.vue @@ -36,7 +36,7 @@ const enableFooter = computed(() => { }); const showCloseButton = computed(() => { - return !Object.keys(route.query).includes('hideCloseButton'); + return !(route.query?.hideCloseButton == 'true'); }); const back = () => {