Merge pull request #21895 from deepeshgarg007/healthcare_dashboard_fix
fix: Company query for number cards
This commit is contained in:
commit
28d1d6c91f
@ -19,7 +19,7 @@ def get_company():
|
|||||||
else:
|
else:
|
||||||
company = frappe.get_list("Company", limit=1)
|
company = frappe.get_list("Company", limit=1)
|
||||||
if company:
|
if company:
|
||||||
return company.name
|
return company[0].name
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get_dashboards():
|
def get_dashboards():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user