RED-9716: removed analyse button for archived files.
This commit is contained in:
parent
804fbf7b05
commit
425c982865
@ -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