We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f27fb commit a15b191Copy full SHA for a15b191
client/components/Nav.jsx
@@ -322,7 +322,7 @@ class Nav extends React.PureComponent {
322
Open
323
</Link>
324
</li>}
325
- {__process.env.COLLECTIONS_ENABLED && this.props.user.authenticated &&
+ {__process.env.COLLECTIONS_ENABLED && this.props.user.authenticated && this.props.project.id &&
326
<li className="nav__dropdown-item">
327
<Link
328
to={`/${this.props.user.username}/sketches/${this.props.project.id}/add-to-collection`}
0 commit comments