Skip to content

Commit

Permalink
Merge branch 'main' into 4184_notifications-inbox-view
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt authored Jul 19, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
InventivetalentDev Haylee Schäfer
2 parents 777d950 + 168eb19 commit a7f8528
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/store/account.js
Original file line number Diff line number Diff line change
@@ -124,6 +124,7 @@ const mutations = {
state.user = null
state.teams = []
state.team = null
state.redirectUrlAfterLogin = null
},
setUser (state, user) {
state.user = user
@@ -302,8 +303,8 @@ const actions = {
}
}
},
async logout (state) {
state.commit('logout')
async logout ({ commit }) {
commit('logout')
userApi.logout()
.catch(_ => {})
.finally(() => {

0 comments on commit a7f8528

Please sign in to comment.