|
|
@ -20,6 +20,7 @@ import { |
|
|
ChangeDetectorRef, |
|
|
ChangeDetectorRef, |
|
|
Component, |
|
|
Component, |
|
|
DestroyRef, |
|
|
DestroyRef, |
|
|
|
|
|
inject, |
|
|
OnInit |
|
|
OnInit |
|
|
} from '@angular/core'; |
|
|
} from '@angular/core'; |
|
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
@ -64,19 +65,19 @@ export class GfActivitiesPageComponent implements OnInit { |
|
|
|
|
|
|
|
|
private activityTypesFilter: string[] = []; |
|
|
private activityTypesFilter: string[] = []; |
|
|
|
|
|
|
|
|
public constructor( |
|
|
private readonly changeDetectorRef = inject(ChangeDetectorRef); |
|
|
private readonly changeDetectorRef: ChangeDetectorRef, |
|
|
private readonly dataService = inject(DataService); |
|
|
private readonly dataService: DataService, |
|
|
private readonly destroyRef = inject(DestroyRef); |
|
|
private readonly destroyRef: DestroyRef, |
|
|
private readonly deviceDetectorService = inject(DeviceDetectorService); |
|
|
private readonly deviceDetectorService: DeviceDetectorService, |
|
|
private readonly dialog = inject(MatDialog); |
|
|
private readonly dialog: MatDialog, |
|
|
private readonly icsService = inject(IcsService); |
|
|
private readonly icsService: IcsService, |
|
|
private readonly impersonationStorageService = inject(ImpersonationStorageService); |
|
|
private readonly impersonationStorageService: ImpersonationStorageService, |
|
|
private readonly route = inject(ActivatedRoute); |
|
|
private readonly route: ActivatedRoute, |
|
|
private readonly router = inject(Router); |
|
|
private readonly router: Router, |
|
|
private readonly userService = inject(UserService); |
|
|
private readonly userService: UserService |
|
|
|
|
|
) { |
|
|
public constructor() { |
|
|
route.queryParams |
|
|
this.route.queryParams |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe((params) => { |
|
|
.subscribe((params) => { |
|
|
if (params['createDialog']) { |
|
|
if (params['createDialog']) { |
|
|
|