Refactor: cleanup
This commit is contained in:
@@ -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