Skip to content
Snippets Groups Projects
Unverified Commit b6aa0bd2 authored by meskio's avatar meskio :tent:
Browse files

Product nav inside the nav menu

parent ece66476
No related branches found
No related tags found
No related merge requests found
......@@ -71,11 +71,11 @@ function Head(props) {
</LinkContainer>
<Navbar.Toggle aria-controls="basic-navbar-nav" />
<Navbar.Collapse id="basic-navbar-nav">
{productNav}
<Nav className="mr-auto" activeKey={location.pathname}>
<LinkContainer to="/purchase">
<Nav.Link>Comprar</Nav.Link>
</LinkContainer>
{productNav}
{(auth.role === "order" || auth.role === "admin") && (
<LinkContainer to="/order/create">
<Nav.Link>Abrir pedido</Nav.Link>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment