diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts index 19753d7cd..2f8a00f16 100644 --- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts +++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts @@ -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() {