fix: changed jobs route to job-openings

This commit is contained in:
Jannat Patel
2024-01-17 11:00:31 +05:30
parent 991dc7f8c8
commit 3070cbed3c
13 changed files with 29 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
import frappe
def execute():
jobs_link = frappe.db.exists(
"Top Bar Item",
{
"label": "Jobs",
"url": "/jobs",
"parent_label": "Explore",
},
)
if jobs_link:
frappe.db.set_value("Top Bar Item", jobs_link, "url", "/job-openings")