RED-9444 - Download button in dossier list view not working

This commit is contained in:
Valentin Mihai 2024-06-25 23:06:00 +03:00
parent 6b7a089057
commit a0ab248479

View File

@ -274,9 +274,6 @@ export class PermissionsService {
}
canDownloadFiles(files: File[], dossier: Dossier): boolean {
if (files.length === 0) {
return false;
}
return this.isApprover(dossier) && files.reduce((prev, file) => prev && !file.isInitialProcessing, true);
}