fix: Remove chart from report when saved without chart

This commit is contained in:
Shariq Ansari 2021-11-24 11:19:30 +05:30
parent 57614e9a6e
commit 06aa8a10ad

View file

@ -388,6 +388,7 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
this.$charts_wrapper.addClass('hidden');
this.save_view_user_settings(
{ chart_args: null });
this.chart_args = null;
}
}