diff --git a/src/services/dataExport.js b/src/services/dataExport.js index 22b43693..edadf756 100644 --- a/src/services/dataExport.js +++ b/src/services/dataExport.js @@ -7,7 +7,9 @@ export default class DataExportService extends AbstractService { } download(password) { + const clear = this.setLoading() return this.getBlobUrl('/user/export/download', 'POST', {password}) .then(url => downloadBlob(url, 'vikunja-export.zip')) + .finally(() => clear()) } } \ No newline at end of file