|
|
|
@ -53,20 +53,20 @@ class NavigationPanel extends Component {
|
|
|
|
|
const { intl, onOpenSettings } = this.props;
|
|
|
|
|
const { signedIn, disabledAccountId } = this.context.identity;
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className='navigation-panel'>
|
|
|
|
|
{transientSingleColumn && (
|
|
|
|
|
<div className='navigation-panel__logo'>
|
|
|
|
|
<div className='switch-to-advanced'>
|
|
|
|
|
let banner = undefined;
|
|
|
|
|
|
|
|
|
|
if(transientSingleColumn)
|
|
|
|
|
banner = (<div className='switch-to-advanced'>
|
|
|
|
|
{intl.formatMessage(messages.openedInClassicInterface)}
|
|
|
|
|
{" "}
|
|
|
|
|
<a href={`/deck${location.pathname}`} className='switch-to-advanced__toggle'>
|
|
|
|
|
{intl.formatMessage(messages.advancedInterface)}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<hr />
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</div>);
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className='navigation-panel'>
|
|
|
|
|
{banner}
|
|
|
|
|
|
|
|
|
|
{signedIn && (
|
|
|
|
|
<>
|
|
|
|
|