Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Fix the bug with hidden link to the bio page at the user page (withou…
Browse files Browse the repository at this point in the history
…t header background)
  • Loading branch information
artkravchenko committed Apr 4, 2017
1 parent a034edd commit 9d0ac8c
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/pages/base/user-without_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const BaseUserPageWithoutHeader = (props) => {
user.get('liked_geotags') && user.get('liked_geotags').size
);
const showFavouritesLink = user.get('favourited_posts') && !!user.get('favourited_posts').size;
const showBioLink = !!user.getIn(['more', 'bio']);

let name = user.get('username');

Expand Down Expand Up @@ -115,16 +114,14 @@ const BaseUserPageWithoutHeader = (props) => {
Favorites
</PageContentLink>
}
{showBioLink &&
<PageContentLink
activeClassName="color-dark_blue"
className="short_post short_post-spacing"
to={`/user/${user.get('username')}/bio`}
visible
>
Bio
</PageContentLink>
}
<PageContentLink
activeClassName="color-dark_blue"
className="short_post short_post-spacing"
to={`/user/${user.get('username')}/bio`}
visible
>
Bio
</PageContentLink>
</div>
</SidebarAlt>
</PageBody>
Expand Down

0 comments on commit 9d0ac8c

Please sign in to comment.