From 16ebb4322a1671aeffc2ab15792e098a3cc4e102 Mon Sep 17 00:00:00 2001 From: Alan Ren Date: Thu, 2 May 2019 18:13:33 -0700 Subject: [PATCH] fix insights dialog issue (#5336) --- .../services/insights/browser/insightsDialogView.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sql/workbench/services/insights/browser/insightsDialogView.ts b/src/sql/workbench/services/insights/browser/insightsDialogView.ts index db3a6a9f71..f9632dceea 100644 --- a/src/sql/workbench/services/insights/browser/insightsDialogView.ts +++ b/src/sql/workbench/services/insights/browser/insightsDialogView.ts @@ -228,10 +228,8 @@ export class InsightsDialogView extends Modal { this._bottomTableData.clear(); this._bottomTableData.push(resourceArray); - if (bottomTableView.isExpanded()) { - bottomTableView.setExpanded(false); - bottomTableView.setExpanded(true); - } + this._bottomTable.grid.invalidateAllRows(); + this._bottomTable.grid.render(); this._enableTaskButtons(true); } else { this._enableTaskButtons(false);