diff --git a/training-front-end/src/components/TrainingReportDownload.vue b/training-front-end/src/components/TrainingReportDownload.vue index a52ef862..89749746 100644 --- a/training-front-end/src/components/TrainingReportDownload.vue +++ b/training-front-end/src/components/TrainingReportDownload.vue @@ -93,10 +93,11 @@ async function downloadReport() { } catch (error) { setError(error) + } finally { + isLoading.value = false + showSpinner.value = false } - isLoading.value = false - showSpinner.value = false }