Browse Source

Migrate account dialogs to dedicated routes

pull/7473/head
Thomas Kaul 3 weeks ago
parent
commit
8d2849cb80
  1. 2
      apps/client/src/app/pages/accounts/account-dialog-host/account-dialog-host.component.ts

2
apps/client/src/app/pages/accounts/account-dialog-host/account-dialog-host.component.ts

@ -182,8 +182,6 @@ export class GfAccountDialogHostComponent implements OnDestroy, OnInit {
} }
private isReadOnlyMode(user: User) { private isReadOnlyMode(user: User) {
// Mirrors the conditions under which the accounts page offers the creation
// and the modification of an account
return ( return (
!!this.impersonationStorageService.getId() || !!this.impersonationStorageService.getId() ||
!!user?.settings?.isRestrictedView !!user?.settings?.isRestrictedView

Loading…
Cancel
Save