mirror of
https://github.com/minio/minio.git
synced 2025-11-23 19:17:43 -05:00
Browser: Implement multiple object delete (#3859)
This commit is contained in:
@@ -412,13 +412,14 @@ export const setLoginError = () => {
|
||||
}
|
||||
}
|
||||
|
||||
export const downloadAllasZip = (url, req, xhr) => {
|
||||
export const downloadSelected = (url, req, xhr) => {
|
||||
return (dispatch) => {
|
||||
xhr.open('POST', url, true)
|
||||
xhr.responseType = 'blob'
|
||||
|
||||
xhr.onload = function(e) {
|
||||
if (this.status == 200) {
|
||||
dispatch(checkedObjectsReset())
|
||||
var blob = new Blob([this.response], {
|
||||
type: 'application/zip'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user