Minor UI fixes
This commit is contained in:
parent
0187b18c06
commit
a920bca044
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="nav-buttons">
|
<div class="nav-buttons">
|
||||||
<button class='btn btn-outline-secondary' @click="$router.go(-1)">Back</button>
|
<button class='btn btn-outline-secondary' @click="$router.go(-1)">Back</button>
|
||||||
<button v-if="nextContent" class='btn btn-primary' @click="goNext()">Next</button>
|
<button v-show="nextContent" class='btn btn-primary' @click="goNext()">Next</button>
|
||||||
<button v-else class='btn btn-primary' @click="finish()">Finish Course</button>
|
<button v-show="!nextContent" class='btn btn-primary' @click="finish()">Finish Course</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ export default {
|
|||||||
name: "AcademyCoursePage",
|
name: "AcademyCoursePage",
|
||||||
data() {
|
data() {
|
||||||
return{
|
return{
|
||||||
nextContent: '',
|
nextContent: true,
|
||||||
nextContentType: '',
|
nextContentType: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user