RED-9444 - Download button in dossier list view not working
This commit is contained in:
parent
6b7a089057
commit
a0ab248479
@ -274,9 +274,6 @@ export class PermissionsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
canDownloadFiles(files: File[], dossier: Dossier): boolean {
|
canDownloadFiles(files: File[], dossier: Dossier): boolean {
|
||||||
if (files.length === 0) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return this.isApprover(dossier) && files.reduce((prev, file) => prev && !file.isInitialProcessing, true);
|
return this.isApprover(dossier) && files.reduce((prev, file) => prev && !file.isInitialProcessing, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user