Browse Source

Move destroyRef injection to the constructor for improved clarity

pull/6611/head
AyushMishra 1 week ago
parent
commit
95d9895b1a
  1. 2
      apps/client/src/app/pages/portfolio/activities/activities-page.component.ts

2
apps/client/src/app/pages/portfolio/activities/activities-page.component.ts

@ -70,13 +70,13 @@ export class GfActivitiesPageComponent implements OnInit {
public constructor( public constructor(
private changeDetectorRef: ChangeDetectorRef, private changeDetectorRef: ChangeDetectorRef,
private dataService: DataService, private dataService: DataService,
private destroyRef: DestroyRef,
private deviceService: DeviceDetectorService, private deviceService: DeviceDetectorService,
private dialog: MatDialog, private dialog: MatDialog,
private icsService: IcsService, private icsService: IcsService,
private impersonationStorageService: ImpersonationStorageService, private impersonationStorageService: ImpersonationStorageService,
private route: ActivatedRoute, private route: ActivatedRoute,
private router: Router, private router: Router,
private destroyRef: DestroyRef,
private userService: UserService private userService: UserService
) { ) {
this.routeQueryParams = route.queryParams this.routeQueryParams = route.queryParams

Loading…
Cancel
Save