Make hideCloseButton more explicit
This commit is contained in:
parent
2626c928b1
commit
627ca29805
|
|
@ -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 = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue