Remove comment in logout.

This commit is contained in:
elweyn 2021-11-30 09:55:27 +01:00
parent 718763a884
commit fd54f34855

View File

@ -32,28 +32,8 @@ import CONFIG from '../config'
export default {
name: 'navbar',
data() {
return {
logo: 'img/brand/green.png',
}
},
methods: {
logout() {
// TODO
// this.$emit('logout')
/* this.$apollo
.query({
query: logout,
})
.then(() => {
this.$store.dispatch('logout')
this.$router.push('/logout')
})
.catch(() => {
this.$store.dispatch('logout')
if (this.$router.currentRoute.path !== '/logout') this.$router.push('/logout')
})
*/
this.$store.dispatch('logout')
this.$router.push('/logout')
},