style: fix formatting

This commit is contained in:
prssanna 2020-07-22 11:59:17 +05:30
parent 1bd610f858
commit c25100cb47
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import frappe
from frappe.model.utils.rename_field import rename_field
def execute():
if not frappe.db.table_exists('Dashboard Chart')
if not frappe.db.table_exists('Dashboard Chart'):
return
frappe.reload_doc('desk', 'doctype', 'dashboard_chart')

View file

@ -207,7 +207,7 @@ frappe.dashboard_utils = {
fieldtype: 'Link',
fieldname: 'dashboard',
options: 'Dashboard',
}
};
if (!frappe.boot.developer_mode) {
field.get_query = () => {