summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2023-08-16 15:44:15 +0200
committerGrigorii K. Shartsev <me@shgk.me>2023-08-16 15:48:32 +0200
commit4b39a27caf080b2d111a8fb6e77f87fd5f8fb773 (patch)
treed799a089dc94461c1d6388207d27f14204b093d6
parent233b2aaf749aaa0762003650bf6c0a14114a7a65 (diff)
downloadnextcloud-server-4b39a27caf080b2d111a8fb6e77f87fd5f8fb773.tar.gz
nextcloud-server-4b39a27caf080b2d111a8fb6e77f87fd5f8fb773.zip
fix(settings): fix set manager loading indicator in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
-rw-r--r--apps/settings/src/components/Users/UserRow.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/src/components/Users/UserRow.vue b/apps/settings/src/components/Users/UserRow.vue
index 7e99a18370d..1315f632c49 100644
--- a/apps/settings/src/components/Users/UserRow.vue
+++ b/apps/settings/src/components/Users/UserRow.vue
@@ -568,13 +568,13 @@ export default {
})
},
- updateUserManager(manager) {
+ async updateUserManager(manager) {
if (manager === null) {
this.idState.currentManager = ''
}
this.idState.loading.manager = true
try {
- this.$store.dispatch('setUserData', {
+ await this.$store.dispatch('setUserData', {
userid: this.user.id,
key: 'manager',
value: this.idState.currentManager ? this.idState.currentManager.id : '',