mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-07 14:52:15 +00:00
fix(console): member table updates (#4984)
* fix: members table refresh, delete with single role * trigger update after change * remove event propagation handler Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
f4b920c11c
commit
3be1f51e48
@@ -66,9 +66,13 @@ export class InstanceMembersComponent {
|
||||
.updateIAMMember(member.userId, selectionChange)
|
||||
.then(() => {
|
||||
this.toast.showInfo('ORG.TOAST.MEMBERCHANGED', true);
|
||||
setTimeout(() => {
|
||||
this.changePage.emit();
|
||||
}, 1000);
|
||||
})
|
||||
.catch((error) => {
|
||||
this.toast.showError(error);
|
||||
this.changePage.emit();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -79,10 +83,13 @@ export class InstanceMembersComponent {
|
||||
.removeIAMMember(member.userId)
|
||||
.then(() => {
|
||||
this.toast.showInfo('IAM.TOAST.MEMBERREMOVED', true);
|
||||
this.changePage.emit();
|
||||
setTimeout(() => {
|
||||
this.changePage.emit();
|
||||
}, 1000);
|
||||
})
|
||||
.catch((error) => {
|
||||
this.toast.showError(error);
|
||||
this.changePage.emit();
|
||||
});
|
||||
}),
|
||||
);
|
||||
@@ -99,6 +106,7 @@ export class InstanceMembersComponent {
|
||||
})
|
||||
.catch((error) => {
|
||||
this.toast.showError(error);
|
||||
this.changePage.emit();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -129,6 +137,7 @@ export class InstanceMembersComponent {
|
||||
})
|
||||
.catch((error) => {
|
||||
this.toast.showError(error);
|
||||
this.changePage.emit();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user