Add proof of concept component to module, start a little refactor
This commit is contained in:
parent
485e07067b
commit
50b19c6405
|
|
@ -41,6 +41,8 @@
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<text-to-select />
|
||||||
|
|
||||||
<div class="module__intro-wrapper">
|
<div class="module__intro-wrapper">
|
||||||
<bookmark-actions
|
<bookmark-actions
|
||||||
:bookmarked="!!module.bookmark"
|
:bookmarked="!!module.bookmark"
|
||||||
|
|
@ -95,12 +97,15 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script setup lang="ts">
|
||||||
import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue';
|
import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue';
|
||||||
import Chapter from '@/components/Chapter.vue';
|
import Chapter from '@/components/Chapter.vue';
|
||||||
import BookmarkActions from '@/components/notes/BookmarkActions.vue';
|
import BookmarkActions from '@/components/notes/BookmarkActions.vue';
|
||||||
import Pill from '@/components/ui/Pill.vue';
|
import Pill from '@/components/ui/Pill.vue';
|
||||||
|
import TextToSelect from '@/components/TextToSelect.vue';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
module: {
|
module: {
|
||||||
|
|
@ -109,13 +114,6 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
|
||||||
Pill,
|
|
||||||
BookmarkActions,
|
|
||||||
ObjectiveGroups,
|
|
||||||
Chapter,
|
|
||||||
},
|
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
languageCommunicationObjectiveGroups() {
|
languageCommunicationObjectiveGroups() {
|
||||||
return this.module.objectiveGroups
|
return this.module.objectiveGroups
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue