[SSE mobile] added controller for private code
This commit is contained in:
parent
e55c823cad
commit
8943602605
|
@ -5,6 +5,7 @@ import { f7 } from 'framework7-react';
|
|||
import { withTranslation } from 'react-i18next';
|
||||
import CollaborationController from '../../../../common/mobile/lib/controller/collaboration/Collaboration.jsx'
|
||||
import { onAdvancedOptions } from './settings/Download.jsx';
|
||||
import EditorUIController from '../lib/patch';
|
||||
import {
|
||||
AddCommentController,
|
||||
CommentsController,
|
||||
|
@ -51,6 +52,8 @@ class MainController extends Component {
|
|||
};
|
||||
|
||||
const loadConfig = data => {
|
||||
EditorUIController.isSupportEditFeature();
|
||||
|
||||
let me = this;
|
||||
|
||||
me.editorConfig = Object.assign({}, this.editorConfig, data.config);
|
||||
|
|
6
apps/spreadsheeteditor/mobile/src/lib/patch.jsx
Normal file
6
apps/spreadsheeteditor/mobile/src/lib/patch.jsx
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
const EditorUIController = () => null;
|
||||
|
||||
EditorUIController.isSupportEditFeature = () => false;
|
||||
|
||||
export default EditorUIController;
|
Loading…
Reference in a new issue