|
|
@ -120,11 +120,11 @@ export class GfActivitiesPageComponent implements OnInit { |
|
|
protected onDeleteActivities() { |
|
|
protected onDeleteActivities() { |
|
|
this.dataService |
|
|
this.dataService |
|
|
.deleteActivities({ |
|
|
.deleteActivities({ |
|
|
range: this.getCalendarYearRange(), |
|
|
|
|
|
activityTypes: this.activityTypesFilter.length |
|
|
activityTypes: this.activityTypesFilter.length |
|
|
? this.activityTypesFilter |
|
|
? this.activityTypesFilter |
|
|
: undefined, |
|
|
: undefined, |
|
|
filters: this.userService.getFilters() |
|
|
filters: this.userService.getFilters(), |
|
|
|
|
|
range: this.getCalendarYearRange() |
|
|
}) |
|
|
}) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe(() => { |
|
|
.subscribe(() => { |
|
|
@ -283,11 +283,11 @@ export class GfActivitiesPageComponent implements OnInit { |
|
|
|
|
|
|
|
|
this.dataService |
|
|
this.dataService |
|
|
.fetchActivities({ |
|
|
.fetchActivities({ |
|
|
range: this.getCalendarYearRange(), |
|
|
|
|
|
activityTypes: this.activityTypesFilter.length |
|
|
activityTypes: this.activityTypesFilter.length |
|
|
? this.activityTypesFilter |
|
|
? this.activityTypesFilter |
|
|
: undefined, |
|
|
: undefined, |
|
|
filters: this.userService.getFilters(), |
|
|
filters: this.userService.getFilters(), |
|
|
|
|
|
range: this.getCalendarYearRange(), |
|
|
skip: this.pageIndex * this.pageSize, |
|
|
skip: this.pageIndex * this.pageSize, |
|
|
sortColumn: this.sortColumn, |
|
|
sortColumn: this.sortColumn, |
|
|
sortDirection: this.sortDirection, |
|
|
sortDirection: this.sortDirection, |
|
|
|