-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transfers fetching execrises to contentnode composable
- Loading branch information
Showing
6 changed files
with
74 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
kolibri/plugins/coach/assets/src/composables/useFetchExercise.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
.../sidePanels/LessonResourceSelection/subPages/PreviewSelectedResources/PreviewExercise.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<template> | ||
|
||
<div> | ||
<QuestionsAccordion | ||
:questions="questions" | ||
:getQuestionContent="() => contentNode" | ||
:isSelectable="false" | ||
/> | ||
</div> | ||
|
||
</template> | ||
|
||
|
||
<script> | ||
import QuestionsAccordion from '../../../../../../common/QuestionsAccordion.vue'; | ||
export default { | ||
name: 'PreviewExercise', | ||
components: { | ||
QuestionsAccordion, | ||
}, | ||
props: { | ||
contentNode: { | ||
type: Object, | ||
required: true, | ||
}, | ||
questions: { | ||
type: Array, | ||
required: true, | ||
}, | ||
}, | ||
}; | ||
</script> |
40 changes: 0 additions & 40 deletions
40
...els/LessonResourceSelection/subPages/PreviewSelectedResources/PreviewSelectedExercise.vue
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters