This commit is contained in:
@@ -132,14 +132,6 @@ export default {
|
||||
this.$router.replace({ name: "login" });
|
||||
}
|
||||
},
|
||||
// methods: {
|
||||
// setAuthenticated(status) {
|
||||
// this.$store.state.authenticated = status;
|
||||
// },
|
||||
// logout() {
|
||||
// this.$store.state.authenticated = false;
|
||||
// }
|
||||
// },
|
||||
computed: {
|
||||
isAuthenticated() {
|
||||
return this.$store.state.authenticated === true;
|
||||
|
||||
Reference in New Issue
Block a user