Refactoring

This commit is contained in:
Julia Radzhabova 2021-07-22 23:59:21 +03:00
parent be8bc7dd42
commit 4e3d968f26

View file

@ -21,7 +21,7 @@ class InitReview extends Component {
let trackChanges = appOptions.customization && appOptions.customization.review ? appOptions.customization.review.trackChanges : undefined;
(trackChanges===undefined) && (trackChanges = appOptions.customization ? appOptions.customization.trackChanges : undefined);
trackChanges = appOptions.isReviewOnly || trackChanges === true || trackChanges !== false
&& LocalStorage.getBool(`${this.editorPrefix}-mobile-track-changes-${appOptions.fileKey || ''}`);
&& LocalStorage.getBool("de-mobile-track-changes-" + (appOptions.fileKey || ''));
api.asc_SetTrackRevisions(trackChanges);
// Init display mode