RED-3499 -> minor update to display "reanalyse all" button in screen header only if there is at least one file which require analysis
This commit is contained in:
parent
f44235ad8b
commit
85c6d87ea3
@ -20,7 +20,7 @@ export class PermissionsService {
|
||||
}
|
||||
|
||||
displayReanalyseBtn(dossier: Dossier): boolean {
|
||||
return this.isApprover(dossier) && this._filesMapService.get(dossier.dossierId).length > 0;
|
||||
return this.isApprover(dossier) && !!this._filesMapService.get(dossier.dossierId).find(f => f.analysisRequired);
|
||||
}
|
||||
|
||||
canEditFileAttributes(file: File): boolean {
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 17008f44757a29ae3d09581a94520c2a05670432
|
||||
Subproject commit 4d045682ab46688934883450706e8aee8e2f1d02
|
||||
Loading…
x
Reference in New Issue
Block a user