[PE SSE mobile] Correct app options

This commit is contained in:
SergeyEzhin
2023-12-22 17:37:15 +01:00
parent a6e181633a
commit 19fe02bce2
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ export class storeAppOptions {
if (permissions.editCommentAuthorOnly===undefined && permissions.deleteCommentAuthorOnly===undefined)
this.canEditComments = this.canDeleteComments = this.isOffline;
}
this.isForm = !!window.isPDFForm;
// this.isForm = !!window.isPDFForm;
this.canChat = this.canLicense && !this.isOffline && (permissions.chat !== false);
this.canEditStyles = this.canLicense && this.canEdit;
this.canPrint = (permissions.print !== false);

View File

@ -108,7 +108,7 @@ export class storeAppOptions {
if (permissions.editCommentAuthorOnly===undefined && permissions.deleteCommentAuthorOnly===undefined)
this.canEditComments = this.canDeleteComments = this.isOffline;
}
this.isForm = !!window.isPDFForm;
// this.isForm = !!window.isPDFForm;
this.canChat = this.canLicense && !this.isOffline && (permissions.chat !== false);
this.canPrint = (permissions.print !== false);
this.isRestrictedEdit = !this.isEdit && this.canComments && isSupportEditFeature;