From e025aabef03e5eb7a8a65163813617af7469d21f Mon Sep 17 00:00:00 2001 From: deepeshgarg007 Date: Tue, 28 May 2019 16:25:55 +0530 Subject: [PATCH] fix: Indentation fixes --- .../public/js/utils/dimension_tree_filter.js | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/erpnext/public/js/utils/dimension_tree_filter.js b/erpnext/public/js/utils/dimension_tree_filter.js index 79c0ab0565..e0c055cc1b 100644 --- a/erpnext/public/js/utils/dimension_tree_filter.js +++ b/erpnext/public/js/utils/dimension_tree_filter.js @@ -9,16 +9,16 @@ let doclist = ["GL Entry", "Sales Invoice", "Purchase Invoice", "Payment Entry", let dimension_filters = erpnext.get_dimension_filters(); - doclist.forEach((doctype) => { - frappe.ui.form.on(doctype, { - onload: function(frm) { - dimension_filters.then((dimensions) => { - dimensions.forEach((dimension) => { - frm.set_query(dimension['fieldname'],{ - "is_group": 0 - }); +doclist.forEach((doctype) => { + frappe.ui.form.on(doctype, { + onload: function(frm) { + dimension_filters.then((dimensions) => { + dimensions.forEach((dimension) => { + frm.set_query(dimension['fieldname'],{ + "is_group": 0 }); }); - } - }); - }) \ No newline at end of file + }); + } + }); +}) \ No newline at end of file