Clear notes from vuex store when logging out
This commit is contained in:
@@ -50,6 +50,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async logout() {
|
||||
this.$store.commit('notes/clear')
|
||||
await this.$auth.logout()
|
||||
},
|
||||
toggleTheme() {
|
||||
|
||||
Reference in New Issue
Block a user