mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 23:47:24 +00:00
fix(console): navigate to users list after removal (#5095)
Redirects the user back to the user list after a user is deleted
This commit is contained in:
parent
c54ddc71a2
commit
fd4f1dd016
@ -371,8 +371,9 @@ export class UserDetailComponent implements OnInit {
|
||||
.then(() => {
|
||||
const params: Params = {
|
||||
deferredReload: true,
|
||||
type: this.user.human ? 'humans' : 'machines',
|
||||
};
|
||||
this.router.navigate(['/users/list', this.user.human ? 'humans' : 'machines'], { queryParams: params });
|
||||
this.router.navigate(['/users'], { queryParams: params });
|
||||
this.toast.showInfo('USER.TOAST.DELETED', true);
|
||||
})
|
||||
.catch((error) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user