fix regression in insight widget where the data is set twice (#1163)

This commit is contained in:
Abbie Petchtes
2018-04-17 11:06:40 -07:00
committed by GitHub
parent 9e9f85079e
commit e5c1c6f544

View File

@@ -204,8 +204,6 @@ export class InsightsWidget extends DashboardWidget implements IDashboardWidget,
}
componentInstance.data = { columns: result.columnInfo.map(item => item.columnName), rows: result.rows.map(row => row.map(item => item.displayValue)) };
componentInstance.data = { columns: result.columnInfo.map(item => item.columnName), rows: result.rows.map(row => row.map(item => item.displayValue)) };
if (componentInstance.init) {
componentInstance.init();
}