Bulk download now choses file extension between .zip and .pdf
This commit is contained in:
parent
8bd40e2c3e
commit
e52c7e83f3
@ -518,7 +518,12 @@ export class BulkEditorComponent
|
|||||||
)
|
)
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
.subscribe((result: any) => {
|
.subscribe((result: any) => {
|
||||||
saveAs(result, 'documents.zip')
|
saveAs(
|
||||||
|
result,
|
||||||
|
this.downloadForm.get('downloadAsSingleFile').value
|
||||||
|
? 'documents.pdf'
|
||||||
|
: 'documents.zip'
|
||||||
|
)
|
||||||
this.awaitingDownload = false
|
this.awaitingDownload = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user