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 { ...@@ -85,14 +85,14 @@ export default {
methods: { methods: {
handleLogout() { handleLogout() {
this.$router.push('/auth') this.$router.push('/auth')
this.logoutUser this.logoutUser()
} },
...mapActions('firebase', ['logoutUser'])
}, },
computed: { computed: {
...mapState(['menuList']), ...mapState(['menuList']),
...mapState('firebase', ['userDetails']), ...mapState('firebase', ['userDetails'])
...mapActions('firebase', ['logoutUser'])
} }
} }
</script> </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