diff --git a/crm/fcrm/doctype/crm_view_settings/crm_view_settings.py b/crm/fcrm/doctype/crm_view_settings/crm_view_settings.py index 416ee2ef..dbb218f6 100644 --- a/crm/fcrm/doctype/crm_view_settings/crm_view_settings.py +++ b/crm/fcrm/doctype/crm_view_settings/crm_view_settings.py @@ -58,6 +58,7 @@ def update(view): rows = remove_duplicates(rows) doc = frappe.get_doc("CRM View Settings", view.name) + doc.label = view.label doc.default_columns = default_columns doc.filters = json.dumps(filters) doc.order_by = view.order_by diff --git a/frontend/src/components/ViewControls.vue b/frontend/src/components/ViewControls.vue index f203feee..6f25d2b7 100644 --- a/frontend/src/components/ViewControls.vue +++ b/frontend/src/components/ViewControls.vue @@ -20,7 +20,10 @@