fixed actions in redacted view
This commit is contained in:
parent
077214def1
commit
a7f867781c
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user