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:
Dan Percic 2024-07-24 12:03:25 +02:00
commit 4f2d320553

View File

@ -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;