Browse Source

Handle discard

pull/6256/head
Thomas Kaul 1 week ago
parent
commit
296bedd742
  1. 3
      apps/client/src/app/components/admin-users/admin-users.component.ts

3
apps/client/src/app/components/admin-users/admin-users.component.ts

@ -212,6 +212,9 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit {
}); });
}, },
confirmType: ConfirmationDialogType.Warn, confirmType: ConfirmationDialogType.Warn,
discardFn: () => {
this.router.navigate(['..'], { relativeTo: this.route });
},
title: $localize`Do you really want to delete this user?` title: $localize`Do you really want to delete this user?`
}); });
} }

Loading…
Cancel
Save