diff --git a/frappe-ui b/frappe-ui index 1c97498f..70bc4760 160000 --- a/frappe-ui +++ b/frappe-ui @@ -1 +1 @@ -Subproject commit 1c97498fb2bf4b64c82a96dac0fdb61ae77e59dc +Subproject commit 70bc4760e4fb969b2ef1cbb04e344d2dd5728032 diff --git a/frontend/package.json b/frontend/package.json index 22a7c252..18cb4a51 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -25,7 +25,7 @@ "codemirror-editor-vue3": "^2.8.0", "dayjs": "^1.11.6", "feather-icons": "^4.28.0", - "frappe-ui": "^0.1.108", + "frappe-ui": "^0.1.109", "lucide-vue-next": "^0.383.0", "markdown-it": "^14.0.0", "pinia": "^2.0.33", diff --git a/frontend/src/components/BatchCard.vue b/frontend/src/components/BatchCard.vue index c2318715..47005473 100644 --- a/frontend/src/components/BatchCard.vue +++ b/frontend/src/components/BatchCard.vue @@ -6,7 +6,10 @@
{{ batch.title }}
-
+
{{ batch.seats_left }} {{ __('Seats Left') }} @@ -15,7 +18,10 @@ {{ __('Seat Left') }}
-
+
{{ __('Sold Out') }}
diff --git a/frontend/src/components/BatchStudents.vue b/frontend/src/components/BatchStudents.vue index 7e5f170f..f72e9fd0 100644 --- a/frontend/src/components/BatchStudents.vue +++ b/frontend/src/components/BatchStudents.vue @@ -341,7 +341,7 @@ const getChartData = () => { }) Object.keys(student.assessments).forEach((assessment) => { - if (student.assessments[assessment] === 100) { + if (student.assessments[assessment].result === 'Passed') { categories[assessment].value += 1 } }) diff --git a/frontend/src/components/CourseCard.vue b/frontend/src/components/CourseCard.vue index 7e4815ec..bda06421 100644 --- a/frontend/src/components/CourseCard.vue +++ b/frontend/src/components/CourseCard.vue @@ -1,7 +1,7 @@