fix insights dialog issue (#5336)

This commit is contained in:
Alan Ren
2019-05-02 18:13:33 -07:00
committed by Karl Burtram
parent fccd026812
commit 16ebb4322a

View File

@@ -228,10 +228,8 @@ export class InsightsDialogView extends Modal {
this._bottomTableData.clear(); this._bottomTableData.clear();
this._bottomTableData.push(resourceArray); this._bottomTableData.push(resourceArray);
if (bottomTableView.isExpanded()) { this._bottomTable.grid.invalidateAllRows();
bottomTableView.setExpanded(false); this._bottomTable.grid.render();
bottomTableView.setExpanded(true);
}
this._enableTaskButtons(true); this._enableTaskButtons(true);
} else { } else {
this._enableTaskButtons(false); this._enableTaskButtons(false);