diff --git a/frontend/src/components/MenuBar.vue b/frontend/src/components/MenuBar.vue index 29f9efb3..59a52874 100644 --- a/frontend/src/components/MenuBar.vue +++ b/frontend/src/components/MenuBar.vue @@ -31,12 +31,15 @@ localStorage.setItem("user-lang", langCode); }; + // contains functionality to let the collapsed menu appear and disappear + // when the screen size varies const drawer = ref(false); - // when the user wants to logout, the authentication must be set to False - function performLogout() { + // when the user wants to logout, a popup is shown to verify this + // if verified, the user should be logged out + const performLogout = () => { auth.logout(); - } + }; - + --> + + + + +