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