Browse Source

Align with account dialog host

pull/7472/head
Thomas Kaul 3 weeks ago
parent
commit
cffc8f2d24
  1. 2
      apps/client/src/app/pages/portfolio/activities/activity-dialog-host/activity-dialog-host.component.ts

2
apps/client/src/app/pages/portfolio/activities/activity-dialog-host/activity-dialog-host.component.ts

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

Loading…
Cancel
Save