From 627ca2980561d2656203c09cd883b3e5a77a0cc1 Mon Sep 17 00:00:00 2001 From: Lorenz Padberg Date: Thu, 11 Apr 2024 15:03:30 +0200 Subject: [PATCH] Make hideCloseButton more explicit --- client/src/layouts/SimpleLayout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {