diff --git a/client/src/components/learningPath/LearningContent.vue b/client/src/components/learningPath/LearningContent.vue index 8e4a85d4..91bfdd57 100644 --- a/client/src/components/learningPath/LearningContent.vue +++ b/client/src/components/learningPath/LearningContent.vue @@ -30,7 +30,7 @@ const block = computed(() => { type="button" class="btn-text inline-flex items-center px-3 py-2 font-normal" data-cy="close-learning-content" - @click="circleStore.closeLearningContent()" + @click="circleStore.closeLearningContent(props.learningContent)" > diff --git a/client/src/components/learningPath/SelfEvaluation.vue b/client/src/components/learningPath/SelfEvaluation.vue index 7fe4afe6..0a0fdc91 100644 --- a/client/src/components/learningPath/SelfEvaluation.vue +++ b/client/src/components/learningPath/SelfEvaluation.vue @@ -26,7 +26,7 @@ function handleContinue() { state.questionIndex += 1; } else { log.debug("continue to next learning content"); - circleStore.continueFromSelfEvaluation(); + circleStore.continueFromSelfEvaluation(props.learningUnit); } } @@ -39,7 +39,7 @@ function handleContinue() {