From 8e36821c6bb8eddf086d4ae729bf15c34262022c Mon Sep 17 00:00:00 2001 From: Udeesha Gautam <46980425+udeeshagautam@users.noreply.github.com> Date: Tue, 6 Aug 2019 14:58:24 -0700 Subject: [PATCH] update restore files when source changes (#6622) --- src/sql/workbench/parts/restore/browser/restoreDialog.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sql/workbench/parts/restore/browser/restoreDialog.ts b/src/sql/workbench/parts/restore/browser/restoreDialog.ts index f439cfec90..9fa45c9af8 100644 --- a/src/sql/workbench/parts/restore/browser/restoreDialog.ts +++ b/src/sql/workbench/parts/restore/browser/restoreDialog.ts @@ -798,7 +798,8 @@ export class RestoreDialog extends Modal { DOM.show(this._fileListTableContainer); this._fileListData.push(data); - // Select the first row for the table by default + // Set data and Select the first row for the table by default + this._fileListTable.setData(this._fileListData); this._fileListTable.setSelectedRows([0]); this._fileListTable.setActiveCell(0, 0); }