Untitled
, computed: { // Verificăm dacă utilizatorul este autentificat pe baza prezenței tokenului în localStorage isAuthenticated() { return !!localStorage.getItem("authToken"); }, },
Leave a Comment
, computed: { // Verificăm dacă utilizatorul este autentificat pe baza prezenței tokenului în localStorage isAuthenticated() { return !!localStorage.getItem("authToken"); }, },