Skip to content

Commit 09b729b

Browse files
authored
Merge pull request #2858 from iversonLv/issue_2848
issue #2848 Plus icon + visible even after logout from connect
2 parents 7378cf9 + e069a49 commit 09b729b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TopBar/ProjectsToolBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class ProjectsToolBar extends Component {
194194
</div>
195195
}
196196
<div className="actions">
197-
<NewProjectNavLink compact link={getNewProjectLink(orgConfig)} />
197+
{isLoggedIn && <NewProjectNavLink compact link={getNewProjectLink(orgConfig)} />}
198198
{ userMenu }
199199
{/* pass location, to make sure that component is re-rendered when location is changed
200200
it's necessary to hide notification dropdown on mobile when users uses browser history back/forward buttons */}

0 commit comments

Comments
 (0)