Skip to content

Commit

Permalink
just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-nettica committed Jun 24, 2024
1 parent 2113647 commit 580a220
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/store/modules/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ const actions = {
ApiService.patch(`/accounts/${account.id}`, account)
.then(resp => {
commit('update_member', resp)
commit('update_account', resp)
if (resp.parent === resp.id) {
commit('update_account', resp)
}
commit('error', `${account.email} updated`)
})
.catch(error => {
Expand Down

0 comments on commit 580a220

Please sign in to comment.