Skip to content

Commit

Permalink
show password tab only for logged in user
Browse files Browse the repository at this point in the history
  • Loading branch information
roadscape committed Aug 8, 2016
1 parent dd13c60 commit 02a8af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/pages/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default class UserProfile extends React.Component {
<ul className="menu">
<li><Link to={`/@${accountname}/transfers`} activeClassName="active">Wallet</Link></li>
{wallet_tab_active && isMyAccount && <li><Link to={`/@${account.name}/permissions`} activeClassName="active">Permissions</Link></li>}
{wallet_tab_active && <li><Link to={`/@${account.name}/password`} activeClassName="active">Password</Link></li>}
{wallet_tab_active && isMyAccount && <li><Link to={`/@${account.name}/password`} activeClassName="active">Password</Link></li>}
</ul>
</div>
</div>;
Expand Down

0 comments on commit 02a8af8

Please sign in to comment.