-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signalements – Revoir le mode d'archivage des alertes "FAR 48h" #3806
base: master
Are you sure you want to change the base?
Conversation
…e_48_hours_missing_far_reportings.sql
807fdf9
to
f78b859
Compare
const isAlertUnarchivable = | ||
reporting.type === ReportingType.ALERT && reporting.value.type === PendingAlertValueType.MISSING_FAR_48_HOURS_ALERT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const isAlertUnarchivable = | |
reporting.type === ReportingType.ALERT && reporting.value.type === PendingAlertValueType.MISSING_FAR_48_HOURS_ALERT | |
const canBeArchived = | |
!(reporting.type === ReportingType.ALERT && reporting.value.type === PendingAlertValueType.MISSING_FAR_48_HOURS_ALERT) |
? (taste)
* we could have more middleware functions being called within the | ||
* use-case middleware, and we should be able to capture all of these events. | ||
*/ | ||
export const dispatchProcessor = (action, initialState) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pouquoi ne pas suivre le nommage + doc officielle ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu pourrais me détailler ta proposition ? Tu veux dire faire un createSlice
test ?
Note: Ici je ne veux pas descendre au niveau du fetch
, pour ne pas avoir à gérer RTK.
Quality Gate passedIssues Measures |
En attente du passage des fichiers backoffice de JSX en TSX |
Linked issues
A exécuter en INTE/PROD :