From fed9adbc77c2df5ce55d6093ccb845e28be0ad88 Mon Sep 17 00:00:00 2001 From: scmmishra Date: Tue, 26 Feb 2019 16:49:15 +0530 Subject: [PATCH] fix: Fixed API and UI for topic card --- .../js/education/lms/components/TopicCard.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/erpnext/public/js/education/lms/components/TopicCard.vue b/erpnext/public/js/education/lms/components/TopicCard.vue index a4fc808226..883277d061 100644 --- a/erpnext/public/js/education/lms/components/TopicCard.vue +++ b/erpnext/public/js/education/lms/components/TopicCard.vue @@ -4,15 +4,15 @@
-
{{ course.course_name }}
+
{{ topic.topic_name }}
- Topics + Content
    -
  • - - {{ topic.topic_name }} +
  • + + {{ content.content }} -
    {{ topic.topic_name }}
    +
    {{ content.content }}
@@ -35,8 +35,8 @@ import AButton from './Button.vue'; export default { - props: ['course', 'program_name'], - name: "CourseCard", + props: ['topic', 'course', 'program_name'], + name: "TopicCard", data() { return { courseMeta: {} @@ -111,6 +111,7 @@ export default { li { list-style-type: none; padding: 0; + } .fa { font-size: 0.8em;