fix: remove unnecessary code
This commit is contained in:
parent
cf5d8b1fc1
commit
49024e0774
1 changed files with 0 additions and 6 deletions
|
|
@ -31,7 +31,6 @@ frappe.views.DashboardView = class DashboardView extends frappe.views.ListView {
|
|||
this.setup_dashboard_page();
|
||||
this.setup_dashboard_customization();
|
||||
this.make_dashboard();
|
||||
this.setup_events();
|
||||
}
|
||||
|
||||
setup_dashboard_customization() {
|
||||
|
|
@ -126,11 +125,6 @@ frappe.views.DashboardView = class DashboardView extends frappe.views.ListView {
|
|||
}
|
||||
}
|
||||
|
||||
setup_events() {
|
||||
$(document.body).on('toggleFullWidth', () => this.render_dashboard());
|
||||
$(document.body).on('toggleListSidebar', () => this.render_dashboard());
|
||||
}
|
||||
|
||||
fetch_dashboard_items(doctype, filters, obj_name) {
|
||||
return frappe.db.get_list(doctype, {
|
||||
filters: filters,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue