fix: linitng fixes

This commit is contained in:
Shivam Mishra 2020-03-18 15:03:57 +05:30
parent 8e392d2dc5
commit ad489fd97d

View file

@ -48,7 +48,7 @@ export default class ChartWidget extends Widget {
}
this.fetch(this.filters).then(data => {
this.summary = []
this.summary = [];
if (this.chart_doc.chart_type == 'Report') {
this.summary = data.report_summary;
data = this.get_report_chart_data(data);