fix: sync number cards before dashbaords
This commit is contained in:
parent
61d07941b8
commit
7df3d2e585
1 changed files with 1 additions and 1 deletions
|
|
@ -89,8 +89,8 @@ def sync_dashboards(app=None):
|
|||
if config:
|
||||
frappe.flags.in_import = True
|
||||
make_records(config.charts, "Dashboard Chart")
|
||||
make_records(config.dashboards, "Dashboard")
|
||||
make_records(config.number_cards, "Number Cards")
|
||||
make_records(config.dashboards, "Dashboard")
|
||||
frappe.flags.in_import = False
|
||||
|
||||
def make_records(config, doctype):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue