Switch to Back to <instance name> when logged in on mobile view as well.
This commit is contained in:
parent
8121206140
commit
e0ac688017
1 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,10 @@ class Header extends ImmutablePureComponent {
|
|||
}
|
||||
</div>
|
||||
<div className='visible-sm'>
|
||||
<Link className='nav-link nav-button webapp-btn' to='/auth/sign_in'>Log in</Link>
|
||||
{me
|
||||
? <Link className='nav-link nav-button webapp-btn' to='/'>Back to {instance.get('title')}</Link>
|
||||
: <Link className='nav-link nav-button webapp-btn' to='/auth/sign_in'>Log in</Link>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue