RED-5844 allow open of excluded file
This commit is contained in:
parent
5890e9433c
commit
ac26c82cc3
@ -143,7 +143,7 @@ export class File extends Entity<IFile> implements IFile {
|
||||
this.isUnderReview = this.workflowStatus === WorkflowFileStatuses.UNDER_REVIEW;
|
||||
this.isUnderApproval = this.workflowStatus === WorkflowFileStatuses.UNDER_APPROVAL;
|
||||
this.canBeApproved = !this.hasSuggestions && !this.isProcessing && !this.isError;
|
||||
this.canBeOpened = !this.isError && !this.isUnprocessed && this.numberOfAnalyses > 0;
|
||||
this.canBeOpened = (!this.isError && !this.isUnprocessed && this.numberOfAnalyses > 0) || this.excluded;
|
||||
this.canBeOCRed =
|
||||
!this.excluded &&
|
||||
!this.lastOCRTime &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user