From fb634303e80e15d1cae39ee45d01d593fde71b9a Mon Sep 17 00:00:00 2001 From: pal-sig <88981777+pal-sig@users.noreply.github.com> Date: Thu, 2 Dec 2021 19:05:37 +0530 Subject: [PATCH] Remove time filter alert page (#412) * fix(FE): removed time filter from settings page #374 * declared an array consisting of routes,in which we won't have to render time filter component * fix(UI): global down is removed from the alerts page Co-authored-by: Mohmin2 Co-authored-by: Mohmn Co-authored-by: Ankit Nayan --- frontend/src/container/Header/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/container/Header/index.tsx b/frontend/src/container/Header/index.tsx index 4b37763aaf..967ddbea74 100644 --- a/frontend/src/container/Header/index.tsx +++ b/frontend/src/container/Header/index.tsx @@ -8,7 +8,8 @@ import ShowBreadcrumbs from './Breadcrumbs'; import DateTimeSelector from './DateTimeSelection'; import { Container } from './styles'; -const routesToSkip = [ROUTES.SETTINGS]; +const routesToSkip = [ROUTES.SETTINGS, ROUTES.LIST_ALL_ALERT]; + const TopNav = (): JSX.Element | null => { const { pathname } = useLocation();