From ee737901271634c2bce4114761ed801588e91180 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 12 Feb 2025 12:46:57 +0530 Subject: [PATCH] fix: announcements should to go one student at a time --- frontend/src/components/BatchStudents.vue | 9 ++++----- .../src/components/Modals/AnnouncementModal.vue | 13 +++++-------- lms/lms/api.py | 13 +++++++++++++ 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/BatchStudents.vue b/frontend/src/components/BatchStudents.vue index 11d752ca..fd3f8ff3 100644 --- a/frontend/src/components/BatchStudents.vue +++ b/frontend/src/components/BatchStudents.vue @@ -428,16 +428,15 @@ watch(students, () => { }) const certificationCount = createResource({ - url: "frappe.client.get_count", + url: 'frappe.client.get_count', params: { - doctype: "LMS Certificate", + doctype: 'LMS Certificate', filters: { - "batch_name": props.batch.name, + batch_name: props.batch.name, }, }, - auto: true + auto: true, }) -