Skip to content

Commit

Permalink
Merge pull request #12429 from AlexVelezLl/fix-attemptlog-corestrings
Browse files Browse the repository at this point in the history
Fix coreStrings import in AttemptLogList
  • Loading branch information
nucleogenesis authored Jul 12, 2024
2 parents 2c2dd1d + 9029ae8 commit 11ed18c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kolibri/core/assets/src/views/AttemptLogList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -212,8 +212,8 @@
];
});
function handleQuestionChange(item) {
emit('select', item.value + currentSection.value.startQuestionNumber);
function handleQuestionChange(index) {
emit('select', index + currentSection.value.startQuestionNumber);
expandCurrentSectionIfNeeded();
}
Expand Down

0 comments on commit 11ed18c

Please sign in to comment.