From 8d398a9d7eb07d1256a659851489ddd40ae7a827 Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Thu, 19 Dec 2024 10:55:31 -0800 Subject: [PATCH] Unset loading after trying to setError --- .../coach/assets/src/views/quizzes/QuizSummaryPage/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kolibri/plugins/coach/assets/src/views/quizzes/QuizSummaryPage/index.vue b/kolibri/plugins/coach/assets/src/views/quizzes/QuizSummaryPage/index.vue index 338f73f2704..e71c1fc81b7 100644 --- a/kolibri/plugins/coach/assets/src/views/quizzes/QuizSummaryPage/index.vue +++ b/kolibri/plugins/coach/assets/src/views/quizzes/QuizSummaryPage/index.vue @@ -270,12 +270,12 @@ setError(error) { try { this.$store.dispatch('handleApiError', { error }); - this.loading = false; - this.$store.dispatch('notLoading'); } catch (e) { // nothing to do here, just catching the error to avoid // unhandled errors in the dispatch to handleApiError } + this.loading = false; + this.$store.dispatch('notLoading'); }, setCurrentAction(action) { if (action === 'EDIT_DETAILS') {