fix: breadcrumbs for company

This commit is contained in:
walstanb 2021-03-09 13:03:52 +05:30
parent 48b0f0da96
commit be98ee26cd

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