[DE mobile] Fix Bug 58687
This commit is contained in:
parent
6ac53939f4
commit
49edd34bf9
|
@ -115,6 +115,7 @@ class MainPage extends Component {
|
||||||
const storeToolbarSettings = this.props.storeToolbarSettings;
|
const storeToolbarSettings = this.props.storeToolbarSettings;
|
||||||
const isDisconnected = this.props.users.isDisconnected;
|
const isDisconnected = this.props.users.isDisconnected;
|
||||||
const isViewer = appOptions.isViewer;
|
const isViewer = appOptions.isViewer;
|
||||||
|
const isEdit = appOptions.isEdit;
|
||||||
const isMobileView = appOptions.isMobileView;
|
const isMobileView = appOptions.isMobileView;
|
||||||
const disabledControls = storeToolbarSettings.disabledControls;
|
const disabledControls = storeToolbarSettings.disabledControls;
|
||||||
const disabledSettings = storeToolbarSettings.disabledSettings;
|
const disabledSettings = storeToolbarSettings.disabledSettings;
|
||||||
|
@ -217,7 +218,7 @@ class MainPage extends Component {
|
||||||
text={isMobileView ? t("Toolbar.textSwitchedMobileView") : t("Toolbar.textSwitchedStandardView")}/>
|
text={isMobileView ? t("Toolbar.textSwitchedMobileView") : t("Toolbar.textSwitchedStandardView")}/>
|
||||||
</CSSTransition>
|
</CSSTransition>
|
||||||
}
|
}
|
||||||
{isViewer && !disabledSettings && !disabledControls && !isDisconnected && isAvailableExt &&
|
{isViewer && !disabledSettings && !disabledControls && !isDisconnected && isAvailableExt && isEdit &&
|
||||||
<Fab position="right-bottom" slot="fixed" onClick={() => this.turnOffViewerMode()}>
|
<Fab position="right-bottom" slot="fixed" onClick={() => this.turnOffViewerMode()}>
|
||||||
<Icon icon="icon-edit-mode"/>
|
<Icon icon="icon-edit-mode"/>
|
||||||
</Fab>
|
</Fab>
|
||||||
|
|
Loading…
Reference in a new issue