Skip to content

Commit a15b191

Browse files
committed
Adding to collections only available for saved sketches
1 parent b0f27fb commit a15b191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/components/Nav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class Nav extends React.PureComponent {
322322
Open
323323
</Link>
324324
</li>}
325-
{__process.env.COLLECTIONS_ENABLED && this.props.user.authenticated &&
325+
{__process.env.COLLECTIONS_ENABLED && this.props.user.authenticated && this.props.project.id &&
326326
<li className="nav__dropdown-item">
327327
<Link
328328
to={`/${this.props.user.username}/sketches/${this.props.project.id}/add-to-collection`}

0 commit comments

Comments
 (0)