Skip to content
Snippets Groups Projects
Commit ac23e7ea authored by Endrizzi, Marco (UG - Comp Sci & Elec Eng)'s avatar Endrizzi, Marco (UG - Comp Sci & Elec Eng)
Browse files

Moved logoutUser action to methods

parent cd53a08d
No related branches found
No related tags found
No related merge requests found
......@@ -85,14 +85,14 @@ export default {
methods: {
handleLogout() {
this.$router.push('/auth')
this.logoutUser
}
this.logoutUser()
},
...mapActions('firebase', ['logoutUser'])
},
computed: {
...mapState(['menuList']),
...mapState('firebase', ['userDetails']),
...mapActions('firebase', ['logoutUser'])
...mapState('firebase', ['userDetails'])
}
}
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment