Minor UI fixes

This commit is contained in:
scmmishra 2018-11-05 12:30:32 +05:30 committed by Aditya Hase
parent 0187b18c06
commit a920bca044
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -16,7 +16,7 @@ export default {
name: "AcademyCoursePage",
data() {
return{
nextContent: '',
nextContent: true,
nextContentType: '',
}
},