Skip to content

Commit

Permalink
Added finally block to reset loading and show spinner boolean value
Browse files Browse the repository at this point in the history
  • Loading branch information
felder101 committed Jan 10, 2025
1 parent 879a0e5 commit 442b14a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions training-front-end/src/components/TrainingReportDownload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ async function downloadReport() {
} catch (error) {
setError(error)
} finally {
isLoading.value = false
showSpinner.value = false
}
isLoading.value = false
showSpinner.value = false
}
</script>
Expand Down

0 comments on commit 442b14a

Please sign in to comment.