kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
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!62stable/1.0.x
commit
105893535f
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue