Skip to content

Commit

Permalink
Remove incidents item from the menu
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Oct 17, 2023
1 parent c422c28 commit c590d4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const NavBar = ({ color }) => {
<NavItem label={<FormattedMessage id="Navbar.Countries" />} href="/countries" />
<NavItem label={<FormattedMessage id="Navbar.Networks" />} href="/networks" />
<NavItem label={<FormattedMessage id="Navbar.Domains" />} href="/domains" />
<NavItem label={<FormattedMessage id="Navbar.Incidents" />} href="/incidents" />
{/* <NavItem label={<FormattedMessage id="Navbar.Incidents" />} href="/incidents" /> */}
{user?.logged_in ? (
<Box ml={[0, 4]} my={[2, 0]}>
<StyledNavItem>
Expand All @@ -126,7 +126,8 @@ export const NavBar = ({ color }) => {
</StyledNavItem>
</Box>
) : (
<NavItem label={<FormattedMessage id="General.Login" />} href="/login" />
<></>
// <NavItem label={<FormattedMessage id="General.Login" />} href="/login" />
)}
<Box ml={[0, 4]} my={[2, 0]}>
<LanguageSelect ml={[0, 4]} onChange={handleLocaleChange} value={locale}>
Expand Down

0 comments on commit c590d4b

Please sign in to comment.