Fixed issues introduced by changing to PureComponent

This commit is contained in:
Torkel Ödegaard
2018-11-07 16:03:33 +01:00
parent 37eb7ca62b
commit 93b4cb562d
4 changed files with 11 additions and 13 deletions

View File

@@ -232,11 +232,6 @@ export class DashboardModel {
return this.meta.fullscreen && !panel.fullscreen;
}
changePanelType(panel: PanelModel, pluginId: string) {
panel.changeType(pluginId);
this.events.emit('panel-type-changed', panel);
}
private ensureListExist(data) {
if (!data) {
data = {};