Skip to content

Commit

Permalink
Alertes – Corrige l'écran blanc dans la liste des alertes et signalem…
Browse files Browse the repository at this point in the history
…ents (#3623)

## Linked issues

None

----

- [ ] Tests E2E (Cypress)
  • Loading branch information
ivangabriele committed Sep 4, 2024
2 parents c0c01f9 + 60b85a3 commit 6fe23f8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions frontend/src/features/SideWindow/Alert/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,12 @@ export function Alert({ baseRef }: AlertProps) {
options={ALERT_SUB_MENU_OPTIONS}
value={subMenu}
/>

{isSeafrontGroupMenu && (
<AlertListAndReportingList
baseRef={baseRef as MutableRefObject<HTMLDivElement>}
selectedSeafrontGroup={isSeafrontGroupMenu ? (subMenu as SeafrontGroup) : SeafrontGroup.MEMN}
selectedTab={selectedTab}
setSelectedTab={setSelectedTab}
/>
)}
<AlertListAndReportingList
baseRef={baseRef as MutableRefObject<HTMLDivElement>}
selectedSeafrontGroup={isSeafrontGroupMenu ? (subMenu as SeafrontGroup) : SeafrontGroup.MEMN}
selectedTab={selectedTab}
setSelectedTab={setSelectedTab}
/>
{subMenu === AdditionalSubMenu.SUSPENDED_ALERTS && <SilencedAlerts />}
</>
)
Expand Down

0 comments on commit 6fe23f8

Please sign in to comment.