Merge branch 'VM/RED-9444' into 'master'
RED-9444 - Download button in dossier list view not working Closes RED-9444 See merge request redactmanager/red-ui!477
This commit is contained in:
commit
797a4d6afd
@ -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