We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 992c03d commit c8fce63Copy full SHA for c8fce63
apps/settings/src/components/Users/UserRow.vue
@@ -506,6 +506,10 @@ export default {
506
if (this.user.manager) {
507
await this.initManager(this.user.manager)
508
}
509
+
510
+ // Reset loading state before mounting the component.
511
+ // This is useful when we disable a user as the loading state cannot be properly reset upon promise resolution.
512
+ Object.keys(this.idState.loading).forEach(key => (this.idState.loading[key] = false))
513
},
514
515
methods: {
0 commit comments