fix rerender insight widget issue (#663)

This commit is contained in:
Abbie Petchtes
2018-02-12 12:30:21 -08:00
committed by GitHub
parent d7ee37a946
commit 0412b643d2

View File

@@ -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;