From 72297db6b321cb9c0ff7df8039da4930181c3d6d Mon Sep 17 00:00:00 2001 From: Alex Velez Date: Tue, 9 Jul 2024 08:25:14 -0500 Subject: [PATCH 1/2] Fix coreStrings import in AttemptLogList --- kolibri/core/assets/src/views/AttemptLogList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kolibri/core/assets/src/views/AttemptLogList.vue b/kolibri/core/assets/src/views/AttemptLogList.vue index ccb399c90b9..e73d6d8658d 100644 --- a/kolibri/core/assets/src/views/AttemptLogList.vue +++ b/kolibri/core/assets/src/views/AttemptLogList.vue @@ -154,11 +154,11 @@ enhancedQuizManagementStrings, } from 'kolibri-common/strings/enhancedQuizManagementStrings'; import useAccordion from 'kolibri-common/components/useAccordion'; - import coreStrings from 'kolibri.utils.coreStrings'; import AccordionItem from 'kolibri-common/components/AccordionItem'; import AccordionContainer from 'kolibri-common/components/AccordionContainer'; import { computed, onMounted, watch } from 'kolibri.lib.vueCompositionApi'; import { toRefs } from '@vueuse/core'; + import { coreStrings } from '../mixins/commonCoreStrings'; import AttemptLogItem from './AttemptLogItem'; export default { From 9029ae8ab4a47532aa211881d9336a7b5d1c7f5d Mon Sep 17 00:00:00 2001 From: Alex Velez Date: Wed, 10 Jul 2024 09:12:09 -0500 Subject: [PATCH 2/2] Fix handle question change --- kolibri/core/assets/src/views/AttemptLogList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kolibri/core/assets/src/views/AttemptLogList.vue b/kolibri/core/assets/src/views/AttemptLogList.vue index e73d6d8658d..6ad6131d332 100644 --- a/kolibri/core/assets/src/views/AttemptLogList.vue +++ b/kolibri/core/assets/src/views/AttemptLogList.vue @@ -212,8 +212,8 @@ ]; }); - function handleQuestionChange(item) { - emit('select', item.value + currentSection.value.startQuestionNumber); + function handleQuestionChange(index) { + emit('select', index + currentSection.value.startQuestionNumber); expandCurrentSectionIfNeeded(); }