fix: Fix type of variable in navbar

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-04-07 17:49:46 +02:00
parent e0ee9c143b
commit 50ab531156
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -229,8 +229,9 @@ const { registrationsOpen, registrationsAllowlist, databaseLogin } =
const canRegister = computed(() => {
return (
(registrationsOpen.value || registrationsAllowlist.value) &&
databaseLogin.value
((registrationsOpen.value || registrationsAllowlist.value) &&
databaseLogin.value) ??
false
);
});