Merge branch 'RED-9716' into 'master'
RED-9716: removed analyse button for archived files. See merge request redactmanager/red-ui!508
This commit is contained in:
commit
4f2d320553
@ -460,7 +460,8 @@ export class FileActionsComponent implements OnChanges {
|
||||
|
||||
this.showStatusBar = !this.file.isError && !this.file.isUnprocessed && this.isDossierOverviewList;
|
||||
|
||||
const showReanalyse = this.canReanalyse || this.file.excludedFromAutomaticAnalysis || this.analysisForced;
|
||||
const showReanalyse =
|
||||
(this.canReanalyse || this.file.excludedFromAutomaticAnalysis || this.analysisForced) && !this.file.dossierArchived;
|
||||
|
||||
this.showReanalyseFilePreview = showReanalyse && this.isFilePreview && !this.file.isApproved && this.isDossierMember;
|
||||
this.showReanalyseDossierOverview = showReanalyse && this.isDossierOverview && !this.file.isApproved && this.isDossierMember;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user