From 58826fe30f88ee7fc171b1cb1e7a35aa4f03bfbf Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 23 Feb 2026 10:41:13 +0530 Subject: [PATCH] fix: removed badge page reference from the router --- frontend/src/router.js | 6 ------ lms/patches/v2_0/enable_allow_job_posting.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/router.js b/frontend/src/router.js index 35e722b4..6302a080 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -139,12 +139,6 @@ const routes = [ name: 'Notifications', component: () => import('@/pages/Notifications.vue'), }, - { - path: '/badges/:badgeName/:email', - name: 'Badge', - component: () => import('@/pages/Badge.vue'), - props: true, - }, { path: '/quizzes', name: 'Quizzes', diff --git a/lms/patches/v2_0/enable_allow_job_posting.py b/lms/patches/v2_0/enable_allow_job_posting.py index c0a1e0e4..1b19e9be 100644 --- a/lms/patches/v2_0/enable_allow_job_posting.py +++ b/lms/patches/v2_0/enable_allow_job_posting.py @@ -2,4 +2,4 @@ import frappe def execute(): - frappe.db.set_value("LMS Settings", None, "allow_job_posting", 1) + frappe.db.set_single_value("LMS Settings", "allow_job_posting", 1)