Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Hide collections from navbar
Browse files Browse the repository at this point in the history
completes #177
  • Loading branch information
markmoser committed Jun 11, 2019
1 parent 9fa1753 commit ae86fbd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ import SvgRaccoon from "./svg/SvgRaccoon";
import SvgCollections from "./svg/SvgCollections";

class NavBar extends Component {
// {this.props.auth.isAuthenticated() ? (
// <NavLink className="nav-icon" to="/collections">
// <SvgCollections />
// <span>collections</span>
// </NavLink>
// ) : null}

render() {
return (
<footer className="container">
Expand All @@ -18,13 +25,6 @@ class NavBar extends Component {
<span>home</span>
</NavLink>

{this.props.auth.isAuthenticated() ? (
<NavLink className="nav-icon" to="/collections">
<SvgCollections />
<span>collections</span>
</NavLink>
) : null}

{this.props.auth.isAuthenticated() && this.props.auth.hasPermission("publish:pin") ? (
<NavLink className="nav-icon" to="/unpublished">
<SvgRaccoon />
Expand Down

0 comments on commit ae86fbd

Please sign in to comment.