From 32d81de328a0d397d378298aa4a2b0c09d43eff3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Fri, 12 Jul 2024 22:33:00 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- .../coach/assets/src/views/plan/CreateExamPage/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue index 3972183cc1..49dcf6fa92 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue @@ -245,8 +245,10 @@ } }, beforeRouteUpdate(to, from, next) { - if(to.name === PageNames.QUIZ_SELECT_PRACTICE_QUIZ && - from.name === PageNames.EXAM_CREATION_ROOT){ + if ( + to.name === PageNames.QUIZ_SELECT_PRACTICE_QUIZ && + from.name === PageNames.EXAM_CREATION_ROOT + ) { this.closeConfirmationToRoute = { name: PageNames.EXAMS, params: {