Skip to content

Commit

Permalink
[DE mobile] Fix Bug 66275
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyEzhin committed Jan 31, 2024
1 parent d0e8a3e commit 963fa3d
Showing 1 changed file with 2 additions and 2 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 @@ -198,8 +198,8 @@ export class storeAppOptions {
this.canBranding = params.asc_getCustomization();
this.canBrandingExt = params.asc_getCanBranding() && (typeof this.customization == 'object');

this.canFavorite = document.info && (document.info.favorite !== undefined && document.info.favorite !== null) && !this.isOffline;
this.isFavorite = document.info.favorite;
this.canFavorite = document.info && (document.info?.favorite !== undefined && document.info?.favorite !== null) && !this.isOffline;
this.isFavorite = document.info?.favorite;

if ( this.isLightVersion ) {
this.canUseHistory = this.canReview = this.isReviewOnly = false;
Expand Down

0 comments on commit 963fa3d

Please sign in to comment.