add a comment
This commit is contained in:
parent
ab19669bf1
commit
a793835566
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ const Exporter = {
|
||||||
document.body.appendChild(fileToDownload)
|
document.body.appendChild(fileToDownload)
|
||||||
fileToDownload.click()
|
fileToDownload.click()
|
||||||
document.body.removeChild(fileToDownload)
|
document.body.removeChild(fileToDownload)
|
||||||
|
// Add delay before hiding processing state since browser takes some time to handle file download
|
||||||
setTimeout(() => { this.processing = false }, 2000)
|
setTimeout(() => { this.processing = false }, 2000)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue