fix: Company query for number cards
This commit is contained in:
parent
8f34cf59f8
commit
9f963a2ac7
@ -19,7 +19,7 @@ def get_company():
|
||||
else:
|
||||
company = frappe.get_list("Company", limit=1)
|
||||
if company:
|
||||
return company.name
|
||||
return company[0].name
|
||||
return None
|
||||
|
||||
def get_dashboards():
|
||||
|
Loading…
Reference in New Issue
Block a user