Fix data export download progress
This commit is contained in:
parent
033b30d6cd
commit
debdc83f1b
1 changed files with 2 additions and 0 deletions
|
@ -7,7 +7,9 @@ export default class DataExportService extends AbstractService {
|
||||||
}
|
}
|
||||||
|
|
||||||
download(password) {
|
download(password) {
|
||||||
|
const clear = this.setLoading()
|
||||||
return this.getBlobUrl('/user/export/download', 'POST', {password})
|
return this.getBlobUrl('/user/export/download', 'POST', {password})
|
||||||
.then(url => downloadBlob(url, 'vikunja-export.zip'))
|
.then(url => downloadBlob(url, 'vikunja-export.zip'))
|
||||||
|
.finally(() => clear())
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue