diff --git a/frontend/src/pages/CertifiedParticipants.vue b/frontend/src/pages/CertifiedParticipants.vue index 62bd2d35..f53d1554 100644 --- a/frontend/src/pages/CertifiedParticipants.vue +++ b/frontend/src/pages/CertifiedParticipants.vue @@ -33,7 +33,7 @@ v-model="currentCategory" :options="categories.data" :placeholder="__('Category')" - @change="updateParticipants()" + @update:modelValue="updateParticipants()" /> @@ -111,7 +111,7 @@ import { Select, usePageMeta, } from 'frappe-ui' -import { computed, inject, onMounted, ref, watch } from 'vue' +import { computed, inject, onMounted, ref } from 'vue' import { GraduationCap } from 'lucide-vue-next' import { sessionStore } from '../stores/session' import EmptyState from '@/components/EmptyState.vue' @@ -220,10 +220,6 @@ usePageMeta(() => { icon: brand.favicon, } }) - -watch(currentCategory, (val) => { - updateParticipants() -})