fix: new-doc-1 not found error

This commit is contained in:
shariquerik 2021-07-29 17:50:43 +05:30
parent 887fe2bb8a
commit 5bb01511aa

View file

@ -204,7 +204,7 @@ frappe.ui.form.Dashboard = class FormDashboard {
$(this).removeClass('hidden');
}
});
this.set_open_count();
!this.frm.is_new() && this.set_open_count();
}
init_data() {