diff --git a/src/sql/parts/dashboard/widgets/insights/insightsWidget.component.ts b/src/sql/parts/dashboard/widgets/insights/insightsWidget.component.ts index 139b90e3be..d90af680b5 100644 --- a/src/sql/parts/dashboard/widgets/insights/insightsWidget.component.ts +++ b/src/sql/parts/dashboard/widgets/insights/insightsWidget.component.ts @@ -202,6 +202,8 @@ export class InsightsWidget extends DashboardWidget implements IDashboardWidget, private _updateChild(result: SimpleExecuteResult): void { this.componentHost.viewContainerRef.clear(); + this.error = undefined; + this._cd.detectChanges(); if (result.rowCount === 0) { this.showError(nls.localize('noResults', 'No results to show'));