From f71d79bef1c97fa41e2dccf6199d4551164aca33 Mon Sep 17 00:00:00 2001 From: Loup Theron Date: Wed, 30 Oct 2024 10:48:53 +0100 Subject: [PATCH] Add new filter for past PNOs --- .../components/PriorNotificationList/constants.ts | 2 ++ .../components/PriorNotificationList/utils.tsx | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/frontend/src/features/PriorNotification/components/PriorNotificationList/constants.ts b/frontend/src/features/PriorNotification/components/PriorNotificationList/constants.ts index ff25fa1cb4..d0f4bb678b 100644 --- a/frontend/src/features/PriorNotification/components/PriorNotificationList/constants.ts +++ b/frontend/src/features/PriorNotification/components/PriorNotificationList/constants.ts @@ -42,6 +42,7 @@ export enum ExpectedArrivalPeriod { IN_LESS_THAN_TWELVE_HOURS = 'IN_LESS_THAN_TWELVE_HOURS', IN_LESS_THAN_ONE_DAY = 'IN_LESS_THAN_ONE_DAY', IN_LESS_THAN_ONE_MONTH = 'IN_LESS_THAN_ONE_MONTH', + LAST_DAY = 'LAST_DAY', CUSTOM = 'CUSTOM' } export const EXPECTED_ARRIVAL_PERIOD_LABEL: Record = { @@ -51,6 +52,7 @@ export const EXPECTED_ARRIVAL_PERIOD_LABEL: Record