3
0

Refetch user on admin user patch

This commit is contained in:
Jože Fortun
2023-04-03 11:48:57 +02:00
parent 7c006753de
commit 35a7caf0cc

View File

@@ -389,14 +389,7 @@ export default {
}
return this.$SystemAPI.api().request(cfg).then(response => {
if (response.data.error) {
return Promise.reject(response.data.error)
} else {
return response.data.response
}
}).then(user => {
this.user = new system.User(user)
this.fetchExternalAuthProviders()
this.fetchUser()
})
},