Add proof of concept component to module, start a little refactor

This commit is contained in:
Ramon Wenger 2023-12-19 20:23:14 +01:00
parent 485e07067b
commit 50b19c6405
1 changed files with 6 additions and 8 deletions

View File

@ -41,6 +41,8 @@
</h5>
</div>
<text-to-select />
<div class="module__intro-wrapper">
<bookmark-actions
:bookmarked="!!module.bookmark"
@ -95,12 +97,15 @@
</div>
</template>
<script>
<script setup lang="ts">
import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue';
import Chapter from '@/components/Chapter.vue';
import BookmarkActions from '@/components/notes/BookmarkActions.vue';
import Pill from '@/components/ui/Pill.vue';
import TextToSelect from '@/components/TextToSelect.vue';
</script>
<script lang="ts">
export default {
props: {
module: {
@ -109,13 +114,6 @@ export default {
},
},
components: {
Pill,
BookmarkActions,
ObjectiveGroups,
Chapter,
},
computed: {
languageCommunicationObjectiveGroups() {
return this.module.objectiveGroups