Browse Source

accounts filtered by activity only when activityIds are provided

pull/5116/head
Attila Cseh 2 months ago
parent
commit
cbe6cf1741
  1. 2
      apps/api/src/app/export/export.service.ts

2
apps/api/src/app/export/export.service.ts

@ -57,7 +57,7 @@ export class ExportService {
}) })
) )
.filter(({ id }) => { .filter(({ id }) => {
return activities.length > 0 return activityIds?.length > 0
? activities.some(({ accountId }) => { ? activities.some(({ accountId }) => {
return accountId === id; return accountId === id;
}) })

Loading…
Cancel
Save