fix: renamed community to people
This commit is contained in:
7
lms/patches/v0_0/rename_community_to_users.py
Normal file
7
lms/patches/v0_0/rename_community_to_users.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
doc = frappe.db.exists("Top Bar Item", {"url": "/community"})
|
||||
if doc:
|
||||
frappe.db.set_value("Top Bar Item", doc, {"url": "/people", "label": "People"})
|
||||
Reference in New Issue
Block a user