Browse Source

Respect activity type and date range filter

pull/7492/head
Thomas Kaul 1 month ago
parent
commit
3ec1ef0cd0
  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

@ -317,7 +317,7 @@ export class GfActivitiesPageComponent implements OnInit {
const dateRange = this.user?.settings?.dateRange; const dateRange = this.user?.settings?.dateRange;
// Omit the date ranges which do not apply to activities: '1d' spans today // Omit the date ranges which do not apply to activities: '1d' spans today
// only, while 'max' would exclude drafts, which are dated in the future // only, while 'max' would exclude drafts dated in the future
if (!dateRange || ['1d', 'max'].includes(dateRange)) { if (!dateRange || ['1d', 'max'].includes(dateRange)) {
return undefined; return undefined;
} }

Loading…
Cancel
Save