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 <mohmin@expansionjs.com>
Co-authored-by: Mohmn <naqashmohmin1@gmail.com>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
This commit is contained in:
pal-sig 2021-12-02 19:05:37 +05:30 committed by GitHub
parent 5e828bf174
commit fb634303e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();