[DE mobile] Fix Bug 59110
This commit is contained in:
parent
661825ace9
commit
4fca1bcb94
|
@ -214,7 +214,14 @@ class MainController extends Component {
|
|||
|
||||
this.applyMode(storeAppOptions);
|
||||
|
||||
this.api.asc_addRestriction(Asc.c_oAscRestrictionType.View);
|
||||
const storeDocumentInfo = this.props.storeDocumentInfo;
|
||||
const dataDoc = storeDocumentInfo.dataDoc;
|
||||
const isExtRestriction = dataDoc.fileType !== 'oform';
|
||||
|
||||
if(isExtRestriction) {
|
||||
this.api.asc_addRestriction(Asc.c_oAscRestrictionType.View);
|
||||
}
|
||||
|
||||
this.api.asc_LoadDocument();
|
||||
this.api.Resize();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue