Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix: default filter setup on todo list Since `frappe.route_options` is an empty object by default, the condition needs updated from `!frappe.route_options` to `!Object.keys(frappe.route_options).length`. Also, `allocated_to` is a better default filter for the To Do list compared to the previous `owner` filter. Further, this contained the only use of `page.add_sidebar_item()` in all of the current Frappe and ERPNext codebase, and that function neither makes sense or works anymore, so it should be removed. * refactor: remove deprecated add_sidebar_item * style: format files --------- Co-authored-by: Ankush Menat <ankush@frappe.io> (cherry picked from commit 396bc41) Co-authored-by: Kevin Shenk <kevin@avu.nu>
- Loading branch information