Make hideCloseButton more explicit

This commit is contained in:
Lorenz Padberg 2024-04-11 15:03:30 +02:00
parent 2626c928b1
commit 627ca29805
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const enableFooter = computed(() => {
}); });
const showCloseButton = computed(() => { const showCloseButton = computed(() => {
return !Object.keys(route.query).includes('hideCloseButton'); return !(route.query?.hideCloseButton == 'true');
}); });
const back = () => { const back = () => {