From aaa27e5587a4a76aaca65604eaf6bd4ffe9c0907 Mon Sep 17 00:00:00 2001 From: Mohammad Hasnain Date: Fri, 6 Nov 2020 17:41:44 +0530 Subject: [PATCH] refactor: solve sider issues --- frappe/public/js/frappe/utils/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/utils/utils.js b/frappe/public/js/frappe/utils/utils.js index 5d20bd3aec..4bf9c5bbd8 100644 --- a/frappe/public/js/frappe/utils/utils.js +++ b/frappe/public/js/frappe/utils/utils.js @@ -2,7 +2,6 @@ // MIT License. See license.txt import deep_equal from "fast-deep-equal"; -import { generate_route, shorten_number, get_number_system } from "../widgets/utils"; frappe.provide("frappe.utils"); @@ -902,7 +901,7 @@ Object.assign(frappe.utils, { }, generate_route: function(item) { - const type = item.type.toLowerCase() + const type = item.type.toLowerCase(); if (type === "doctype") { item.doctype = item.name; }