Commit f8395666 by Torkel Ödegaard

minor update

parent 9c508932
...@@ -90,9 +90,10 @@ export class AddPanelCtrl { ...@@ -90,9 +90,10 @@ export class AddPanelCtrl {
this.rowCtrl.dropView = 0; this.rowCtrl.dropView = 0;
this.dashboard.addPanel(panel, this.row); this.dashboard.addPanel(panel, this.row);
this.$timeout(() => { this.$timeout(() => {
this.$rootScope.appEvent('panel-change-view', { this.$rootScope.broadcast('render');
fullscreen: true, edit: true, panelId: panel.id //this.$rootScope.appEvent('panel-change-view', {
}); // fullscreen: true, edit: true, panelId: panel.id
//});
}); });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment