From ff7dfb75659ddcc07b0895dfe86573dce5e4d7bc Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Mon, 26 Feb 2024 14:29:32 -0800 Subject: [PATCH] add comment explaining use of snake_case in js context --- .../coach/assets/src/views/plan/CreateExamPage/SectionEditor.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/SectionEditor.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/SectionEditor.vue index 4148f156c66..57042cc5d68 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/SectionEditor.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/SectionEditor.vue @@ -265,6 +265,7 @@ context.emit('closePanel'); } + /* Note that the use of snake_case here is to map directly to the API */ const learners_see_fixed_order = ref(activeSection.value.learners_see_fixed_order); const question_count = ref(activeSection.value.question_count); const description = ref(activeSection.value.description);