Merge branch 'patch-1' into 'master'
Switch to Back to <instance name> when logged in on mobile view as well. See merge request soapbox-pub/soapbox-fe!62
This commit is contained in:
commit
105893535f
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