Skip to content

Commit

Permalink
[DE PE SSE mobile] Correct variables
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyEzhin committed Feb 22, 2024
1 parent 8fa7baa commit 14c33df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/documenteditor/mobile/src/store/appOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class storeAppOptions {
this.canRequestClose = config.canRequestClose;
this.canCloseEditor = false;

let canback = false;
let canBack = false;

if (typeof config.customization === 'object' && config.customization !== null) {
const { goback, close } = config.customization;
Expand All @@ -151,7 +151,7 @@ export class storeAppOptions {
}
}

this.canBack = this.canBackToFolder = canback;
this.canBack = this.canBackToFolder = canBack;
this.canRequestSaveAs = config.canRequestSaveAs;
this.canPlugins = false;
this.canFeatureForms = !!Common.EditorApi.get().asc_isSupportFeature("forms");
Expand Down
4 changes: 2 additions & 2 deletions apps/presentationeditor/mobile/src/store/appOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class storeAppOptions {
this.canRequestClose = config.canRequestClose;
this.canCloseEditor = false;

let canback = false;
let canBack = false;

if (typeof config.customization === 'object' && config.customization !== null) {
const { goback, close } = config.customization;
Expand All @@ -85,7 +85,7 @@ export class storeAppOptions {
}
}

this.canBack = this.canBackToFolder = canback;
this.canBack = this.canBackToFolder = canBack;
this.canPlugins = false;

AscCommon.UserInfoParser.setParser(true);
Expand Down
4 changes: 2 additions & 2 deletions apps/spreadsheeteditor/mobile/src/store/appOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class storeAppOptions {
this.canRequestClose = config.canRequestClose;
this.canCloseEditor = false;

let canback = false;
let canBack = false;

if (typeof config.customization === 'object' && config.customization !== null) {
const { goback, close } = config.customization;
Expand All @@ -94,7 +94,7 @@ export class storeAppOptions {
}
}

this.canBack = this.canBackToFolder = canback;
this.canBack = this.canBackToFolder = canBack;
this.canPlugins = false;

AscCommon.UserInfoParser.setParser(true);
Expand Down

0 comments on commit 14c33df

Please sign in to comment.