[DE mobile] Fix Bug 60079
This commit is contained in:
parent
5bade65f02
commit
8f06fbf167
|
@ -62,7 +62,7 @@ const ToolbarView = props => {
|
||||||
onRedoClick: props.onRedo
|
onRedoClick: props.onRedo
|
||||||
})}
|
})}
|
||||||
{/*isAvailableExt && !props.disabledControls &&*/}
|
{/*isAvailableExt && !props.disabledControls &&*/}
|
||||||
{(isViewer || !Device.phone) && <Link className={(!isAvailableExt || props.disabledControls) && 'disabled'} icon={isMobileView ? 'icon-standard-view' : 'icon-mobile-view'} href={false} onClick={async e => {
|
{((isViewer || !Device.phone) && isAvailableExt) && <Link className={(!isAvailableExt || props.disabledControls) && 'disabled'} icon={isMobileView ? 'icon-standard-view' : 'icon-mobile-view'} href={false} onClick={async e => {
|
||||||
await props.changeMobileView();
|
await props.changeMobileView();
|
||||||
await props.openOptions('snackbar');
|
await props.openOptions('snackbar');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
Loading…
Reference in a new issue