Skip to content

Commit 869f007

Browse files
authored
Merge pull request #469 from IFRCGo/fix/all-deployed-personnels-default-filter
Fix default filter for all deployed personnels
2 parents 3d0d013 + 26134a2 commit 869f007

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/views/AllDeployedPersonnel/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ type PersonnelTableItem = NonNullable<GoApiResponse<'/api/v2/personnel/'>['resul
3636
function keySelector(personnel: PersonnelTableItem) {
3737
return personnel.id;
3838
}
39-
const now = new Date().toISOString();
4039

4140
// eslint-disable-next-line import/prefer-default-export
4241
export function Component() {
@@ -72,7 +71,6 @@ export function Component() {
7271
limit,
7372
offset,
7473
ordering,
75-
end_date__gt: now,
7674
// FIXME: The server does not support date string
7775
start_date__gte: toDateTimeString(filter.startDateAfter),
7876
start_date__lte: toDateTimeString(filter.startDateBefore),

0 commit comments

Comments
 (0)