fixed actions in redacted view

This commit is contained in:
Timo Bejan 2020-11-17 12:43:01 +02:00
parent 077214def1
commit a7f867781c

View File

@ -86,6 +86,7 @@ export class FilePreviewScreenComponent implements OnInit, OnDestroy {
set redactedView(value: boolean) {
this._activeViewer = value ? 'REDACTED' : 'ANNOTATED';
this.canPerformAnnotationActions = this.permissionsService.canPerformAnnotationActions() && this._activeViewer === 'ANNOTATED';
}
get activeViewer() {