From 95ad3252e548e33c86bfde9304d07cfab608e81b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 30 Dec 2020 21:01:24 +0000 Subject: [PATCH 1/2] build(deps-dev): bump eslint-plugin-react from 7.21.5 to 7.22.0 Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.5 to 7.22.0. - [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases) - [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.5...v7.22.0) Signed-off-by: dependabot-preview[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ce1e9d0fa..8816f8befb 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "eslint-plugin-jest": "~24.1.0", "eslint-plugin-jsx-a11y": "~6.4.1", "eslint-plugin-prettier": "~3.3.0", - "eslint-plugin-react": "~7.21.0", + "eslint-plugin-react": "~7.22.0", "eslint-plugin-react-hooks": "~4.1.0", "history": "4.10.1", "husky": "~4.3.0", From bf66aeecaca336f48ae07c059b475b3daf9211bb Mon Sep 17 00:00:00 2001 From: Chris Pondoc Date: Wed, 30 Dec 2020 21:36:45 -0500 Subject: [PATCH 2/2] fix(mobile navbar): mobile navbar fix remove unnecessary links in mobile navbar --- src/shared/components/navbar/pageMap.tsx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/shared/components/navbar/pageMap.tsx b/src/shared/components/navbar/pageMap.tsx index 6a9cec6dc9..fcdeca9513 100644 --- a/src/shared/components/navbar/pageMap.tsx +++ b/src/shared/components/navbar/pageMap.tsx @@ -89,18 +89,6 @@ const pageMap: { path: '/incidents/visualize', icon: 'incident', }, - newVisit: { - permission: Permissions.AddVisit, - label: 'visits.visit.new', - path: '/visits', - icon: 'add', - }, - viewVisits: { - permission: Permissions.ReadVisits, - label: 'visits.visit.label', - path: '/visits', - icon: 'visit', - }, settings: { permission: null, label: 'settings.label',