fix: Fix type of variable in navbar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e0ee9c143b
commit
50ab531156
@ -229,8 +229,9 @@ const { registrationsOpen, registrationsAllowlist, databaseLogin } =
|
|||||||
|
|
||||||
const canRegister = computed(() => {
|
const canRegister = computed(() => {
|
||||||
return (
|
return (
|
||||||
(registrationsOpen.value || registrationsAllowlist.value) &&
|
((registrationsOpen.value || registrationsAllowlist.value) &&
|
||||||
databaseLogin.value
|
databaseLogin.value) ??
|
||||||
|
false
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user