Refactor: cleanup
This commit is contained in:
@@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
<!-- eslint-disable-next-line -->
|
<!-- eslint-disable-next-line -->
|
||||||
<template #footer.page-text="{ pageStart, pageStop, itemsLength }">
|
<template #footer.page-text="{ pageStart, pageStop, itemsLength }">
|
||||||
<span>{{ pageStart }} - {{ pageStop }} von {{ itemsLength }}</span>
|
<span>{{ pageStart }}-{{ pageStop }} von {{ itemsLength }}</span>
|
||||||
</template>
|
</template>
|
||||||
</v-data-iterator>
|
</v-data-iterator>
|
||||||
</v-container>
|
</v-container>
|
||||||
@@ -150,9 +150,6 @@ export default {
|
|||||||
courseId () {
|
courseId () {
|
||||||
return this.$store.state.selectedCourse
|
return this.$store.state.selectedCourse
|
||||||
},
|
},
|
||||||
numberOfPages () {
|
|
||||||
return Math.ceil(this.questions.length / this.itemsPerPage)
|
|
||||||
},
|
|
||||||
actionButtons () {
|
actionButtons () {
|
||||||
const self = this
|
const self = this
|
||||||
return [
|
return [
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<TutorPanel :course-id="courseID" />
|
<TutorPanel :course-id="courseID" />
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<QuizComponent :course-id="courseID" />
|
<QuizComponent />
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<CommunityComponent />
|
<CommunityComponent />
|
||||||
|
|||||||
Reference in New Issue
Block a user