From 5b57d977d861904f73c77818bc8de0e90944d56e Mon Sep 17 00:00:00 2001 From: scmmishra Date: Wed, 27 Mar 2019 18:14:41 +0530 Subject: [PATCH] fix: single primary action on LMS home --- .../js/education/lms/components/ProgramCard.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/erpnext/public/js/education/lms/components/ProgramCard.vue b/erpnext/public/js/education/lms/components/ProgramCard.vue index da3ce6c1d78..827e6d2c499 100644 --- a/erpnext/public/js/education/lms/components/ProgramCard.vue +++ b/erpnext/public/js/education/lms/components/ProgramCard.vue @@ -9,7 +9,7 @@
- + {{ buttonName }} {{ enrollButton }} @@ -46,12 +46,12 @@ export default { }, computed: { buttonName() { - if(this.enrolled){ - return "Explore Program" - } - else { - return "Enroll" - } + if(this.enrolled){ + return "Explore Program" + } + else { + return "Enroll" + } }, programPageRoute() { return this.programRoute