diff --git a/src/components/ScheduleSetup.tsx b/src/components/ScheduleSetup.tsx index 5f9be3d..5f1287e 100644 --- a/src/components/ScheduleSetup.tsx +++ b/src/components/ScheduleSetup.tsx @@ -737,7 +737,8 @@ export default class ScheduleSetup extends React.Component< .filter( (ucr: CommunicationRequest) => ucr.status === "active" && - CommunicationRequest.isScheduledOutgoingMessage(ucr) + CommunicationRequest.isScheduledOutgoingMessage(ucr) && + !dateInPast(ucr.occurrenceDateTime) ) .sort((a, b) => { let d1 = a.occurrenceDateTime;