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
commit 79005a4a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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');
},
};