mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux(): minor fix
This commit is contained in:
@@ -10,7 +10,7 @@ export class DashRowCtrl {
|
||||
panelPlugins;
|
||||
|
||||
/** @ngInject */
|
||||
constructor(private $scope, private $rootScope) {
|
||||
constructor(private $scope, private $rootScope, private $timeout) {
|
||||
this.panelPlugins = config.panels;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,9 @@ export class DashRowCtrl {
|
||||
|
||||
addPanel(panel) {
|
||||
this.dashboard.addPanel(panel, this.row);
|
||||
this.$timeout(() => {
|
||||
this.$scope.$broadcast('render');
|
||||
});
|
||||
}
|
||||
|
||||
editRow() {
|
||||
|
||||
Reference in New Issue
Block a user