Merge pull request #24820 from resilient-tech/fix-company-breadcrumbs

fix: breadcrumbs for company
This commit is contained in:
Deepesh Garg
2021-03-09 19:46:39 +05:30
committed by GitHub

View File

@@ -1,10 +1,5 @@
frappe.listview_settings['Company'] = {
onload: () => {
frappe.breadcrumbs.add({
type: 'Custom',
module: __('Accounts'),
label: __('Accounts'),
route: '#modules/Accounts'
});
}
}
onload() {
frappe.breadcrumbs.add('Accounts');
},
};