Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated header (Nav Bar) for hiding reports page #2238

Merged
merged 11 commits into from
Sep 20, 2023
6 changes: 5 additions & 1 deletion frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,16 @@ const HeaderNoCtx: React.FC<ContextType> = (props) => {
exact: false
},
{ title: 'Feeds', path: '/feeds', users: ALL_USERS, exact: false },

/*
Hiding Reports page until finished
{
title: 'Reports',
path: '/reports',
users: ALL_USERS,
exact: true
},
},*/

{
title: 'Scans',
path: '/scans',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@ exports[`Header component matches snapshot 1`] = `
Feeds
</a>
</div>
<div
class="css-g2ra7n"
>
<a
class="NavItem-link"
href="/reports"
style="outline: none;"
>
Reports
</a>
</div>
</div>
<div
class="Header-spacing"
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/test-utils/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const testOrganization = {
granularScans: [],
tags: [],
parent: null,
children: []
children: [],
pendingDomains: []
};
Loading