Skip to content

Commit

Permalink
Fix default filter for all deployed personnels
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenhelium committed Jan 16, 2024
1 parent 3d0d013 commit 26134a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/views/AllDeployedPersonnel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ type PersonnelTableItem = NonNullable<GoApiResponse<'/api/v2/personnel/'>['resul
function keySelector(personnel: PersonnelTableItem) {
return personnel.id;
}
const now = new Date().toISOString();

// eslint-disable-next-line import/prefer-default-export
export function Component() {
Expand Down Expand Up @@ -72,7 +71,6 @@ export function Component() {
limit,
offset,
ordering,
end_date__gt: now,
// FIXME: The server does not support date string
start_date__gte: toDateTimeString(filter.startDateAfter),
start_date__lte: toDateTimeString(filter.startDateBefore),
Expand Down

0 comments on commit 26134a2

Please sign in to comment.