diff --git a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx index d6d8ba376..bdedc8af0 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx @@ -516,6 +516,9 @@ class MainController extends Component { storeSpreadsheetInfo.changeTitle(meta.title); } }); + + const storeAppOptions = this.props.storeAppOptions; + this.api.asc_setFilteringMode && this.api.asc_setFilteringMode(storeAppOptions.canModifyFilter); } onEntriesListMenu(validation, textArr, addArr) { diff --git a/apps/spreadsheeteditor/mobile/src/store/appOptions.js b/apps/spreadsheeteditor/mobile/src/store/appOptions.js index 0ce848826..1e8685ccc 100644 --- a/apps/spreadsheeteditor/mobile/src/store/appOptions.js +++ b/apps/spreadsheeteditor/mobile/src/store/appOptions.js @@ -80,6 +80,7 @@ export class storeAppOptions { permissions.edit = false; this.canBranding = params.asc_getCustomization(); this.canBrandingExt = params.asc_getCanBranding() && (typeof this.customization == 'object'); + this.canModifyFilter = permissions.modifyFilter !== false; this.canAutosave = true; this.canAnalytics = params.asc_getIsAnalyticsEnable(); this.canLicense = (licType === Asc.c_oLicenseResult.Success || licType === Asc.c_oLicenseResult.SuccessLimit);