Commit f7f7e246 authored by Adam Procter's avatar Adam Procter

uncomment log out stuff for now

All in App.vue but not working have tried various other locations...
parent 8173edb8
Pipeline #92 failed with stages
in 1 minute and 2 seconds
This diff is collapsed.
......@@ -21,17 +21,17 @@ import { mapActions, mapGetters } from 'vuex'
export default {
name: 'welcome',
methods: {
// logout() {
// this.$store.dispatch('logout');
logout() {
this.$store.dispatch('logout');
// }
},
...mapActions(["logout"])
},
computed: {
//isLoggedIn() {
// return this.$store.getters.isLoggedIn;
isLoggedIn() {
return this.$store.getters.isLoggedIn;
//}
},
...mapGetters(["isLoggedIn"])
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment