From 4580ab018156cc250a6f3f8e1f6d408a8d5e95f6 Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Sat, 13 Dec 2025 15:18:37 +0000 Subject: [PATCH] fix: add watcher for currentCategory to update participants --- frontend/src/pages/CertifiedParticipants.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/CertifiedParticipants.vue b/frontend/src/pages/CertifiedParticipants.vue index 10230c3c..62bd2d35 100644 --- a/frontend/src/pages/CertifiedParticipants.vue +++ b/frontend/src/pages/CertifiedParticipants.vue @@ -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' @@ -220,6 +220,10 @@ usePageMeta(() => { icon: brand.favicon, } }) + +watch(currentCategory, (val) => { + updateParticipants() +})