mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Remove comment in logout.
This commit is contained in:
parent
718763a884
commit
fd54f34855
@ -32,28 +32,8 @@ import CONFIG from '../config'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'navbar',
|
name: 'navbar',
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
logo: 'img/brand/green.png',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
logout() {
|
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.$store.dispatch('logout')
|
||||||
this.$router.push('/logout')
|
this.$router.push('/logout')
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user