diff --git a/js/src/components/NavBar.vue b/js/src/components/NavBar.vue index 47024552..860b2e1c 100644 --- a/js/src/components/NavBar.vue +++ b/js/src/components/NavBar.vue @@ -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 ); });