Skip to content

Commit

Permalink
Add missing far 48h alert
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Jan 20, 2025
1 parent 0554f59 commit 8d24185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ArchiveOutdatedReportings(
reportingCandidatesToArchive
.filter {
it.second.type == AlertTypeMapping.MISSING_FAR_ALERT ||
it.second.type == AlertTypeMapping.MISSING_FAR_48_HOURS_ALERT ||
it.second.type == AlertTypeMapping.THREE_MILES_TRAWLING_ALERT ||
it.second.type == AlertTypeMapping.MISSING_DEP_ALERT ||
it.second.type == AlertTypeMapping.SUSPICION_OF_UNDER_DECLARATION_ALERT
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/features/Alert/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const COMMON_ALERT_TYPE_OPTION: Record<
},
MISSING_FAR_48_HOURS_ALERT: {
code: PendingAlertValueType.MISSING_FAR_48_HOURS_ALERT,
isArchivedAfterDEPMessage: false,
isArchivedAfterDEPMessage: true,
isOperationalAlert: true,
name: 'Non-emission de message "FAR" en 48h'
},
Expand Down

0 comments on commit 8d24185

Please sign in to comment.