From 60b85a3f1ce255f54f513c54e99f0d5868b0a355 Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Wed, 4 Sep 2024 15:33:56 +0200 Subject: [PATCH] Fix wrong mounting condition in side window alert list --- frontend/src/features/SideWindow/Alert/index.tsx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/frontend/src/features/SideWindow/Alert/index.tsx b/frontend/src/features/SideWindow/Alert/index.tsx index f62d4ca9e5..7edef46350 100644 --- a/frontend/src/features/SideWindow/Alert/index.tsx +++ b/frontend/src/features/SideWindow/Alert/index.tsx @@ -59,15 +59,12 @@ export function Alert({ baseRef }: AlertProps) { options={ALERT_SUB_MENU_OPTIONS} value={subMenu} /> - - {isSeafrontGroupMenu && ( - } - selectedSeafrontGroup={isSeafrontGroupMenu ? (subMenu as SeafrontGroup) : SeafrontGroup.MEMN} - selectedTab={selectedTab} - setSelectedTab={setSelectedTab} - /> - )} + } + selectedSeafrontGroup={isSeafrontGroupMenu ? (subMenu as SeafrontGroup) : SeafrontGroup.MEMN} + selectedTab={selectedTab} + setSelectedTab={setSelectedTab} + /> {subMenu === AdditionalSubMenu.SUSPENDED_ALERTS && } )