From 85d793ee6407fbfc1811734975ec4c8c6c0ef7f3 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 10 Nov 2025 11:24:43 +0530 Subject: [PATCH] fix: evaluation issues --- frappe-ui | 2 +- frontend/src/components/Modals/Event.vue | 5 ++--- frontend/src/pages/Profile.vue | 6 ++++-- frontend/src/pages/ProfileEvaluationSchedule.vue | 2 +- lms/lms/api.py | 2 -- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/frappe-ui b/frappe-ui index f1bde9bc..a286bd27 160000 --- a/frappe-ui +++ b/frappe-ui @@ -1 +1 @@ -Subproject commit f1bde9bcb271af47e9f5de190a18dff8604f5312 +Subproject commit a286bd2713d1e38b72a8cdb72f997f9890027387 diff --git a/frontend/src/components/Modals/Event.vue b/frontend/src/components/Modals/Event.vue index f331981a..04804f49 100644 --- a/frontend/src/components/Modals/Event.vue +++ b/frontend/src/components/Modals/Event.vue @@ -189,6 +189,8 @@ const user = inject('$user') const dayjs = inject('$dayjs') const tabIndex = ref(0) const showCertification = ref(false) +const evaluation = reactive({}) +const certificate = reactive({}) const props = defineProps({ event: { @@ -197,9 +199,6 @@ const props = defineProps({ }, }) -const evaluation = reactive({}) -const certificate = reactive({}) - watch(user, () => { if (userIsEvaluator()) { defaultTemplate.reload() diff --git a/frontend/src/pages/Profile.vue b/frontend/src/pages/Profile.vue index e0dc20da..92190a95 100644 --- a/frontend/src/pages/Profile.vue +++ b/frontend/src/pages/Profile.vue @@ -129,8 +129,10 @@ onMounted(() => { const profile = createResource({ url: 'lms.lms.api.get_profile_details', - params: { - username: props.username, + makeParams() { + return { + username: props.username, + } }, }) diff --git a/frontend/src/pages/ProfileEvaluationSchedule.vue b/frontend/src/pages/ProfileEvaluationSchedule.vue index 6efc257e..9e12f7ab 100644 --- a/frontend/src/pages/ProfileEvaluationSchedule.vue +++ b/frontend/src/pages/ProfileEvaluationSchedule.vue @@ -36,7 +36,7 @@ - +