Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion frontend/src/pages/CertifiedParticipants.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ import {
Select,
usePageMeta,
} from 'frappe-ui'
import { computed, inject, onMounted, ref } from 'vue'
import { computed, inject, onMounted, ref, watch } from 'vue'
import { GraduationCap } from 'lucide-vue-next'
import { sessionStore } from '../stores/session'
import EmptyState from '@/components/EmptyState.vue'
Expand Down Expand Up @@ -220,6 +220,10 @@ usePageMeta(() => {
icon: brand.favicon,
}
})

watch(currentCategory, (val) => {
updateParticipants()
Comment thread
KerollesFathy marked this conversation as resolved.
Outdated
})
</script>
<style>
.headline {
Expand Down
3 changes: 1 addition & 2 deletions lms/lms/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,7 @@ def get_certification_categories():
for doc in docs:
category = doc.course_title if doc.course_title else doc.batch_title
if category not in categories:
Comment thread
KerollesFathy marked this conversation as resolved.
Outdated
categories.append(category)

categories.append({"label": category, "value": category})
return categories


Expand Down