diff --git a/src/sql/parts/dashboard/common/dashboardWidgetWrapper.component.ts b/src/sql/parts/dashboard/common/dashboardWidgetWrapper.component.ts index 12b444df3c..748e7b228a 100644 --- a/src/sql/parts/dashboard/common/dashboardWidgetWrapper.component.ts +++ b/src/sql/parts/dashboard/common/dashboardWidgetWrapper.component.ts @@ -170,6 +170,7 @@ export class DashboardWidgetWrapper implements AfterContentInit, OnInit, OnDestr } // Save the widget for future use selector = componentMap['insights-widget']; + delete this._config.widget[key]; this._config.widget['insights-widget'] = insightConfig; } return selector;