forked from potsda.mn/mobilizon
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(() => {
|
||||
return (
|
||||
(registrationsOpen.value || registrationsAllowlist.value) &&
|
||||
databaseLogin.value
|
||||
((registrationsOpen.value || registrationsAllowlist.value) &&
|
||||
databaseLogin.value) ??
|
||||
false
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue