diff --git a/app/javascript/submission_form/completed.vue b/app/javascript/submission_form/completed.vue index d8aadd72..4bb4ea54 100644 --- a/app/javascript/submission_form/completed.vue +++ b/app/javascript/submission_form/completed.vue @@ -212,9 +212,9 @@ export default { fileRequests.reduce( (prevPromise, request) => prevPromise.then(() => request()), Promise.resolve() - ) - - this.isDownloading = false + ).finally(() => { + this.isDownloading = false + }) }, sanitizeHref (href) { if (href && href.trim().match(/^((?:https?:\/\/)|\/)/)) {