mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: duplicate graphite panel was not working when new row needed to be created
This commit is contained in:
parent
abac12d2a5
commit
aa8c881471
@ -447,6 +447,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
|
|||||||
if (rowIndex === rowsList.length - 1) {
|
if (rowIndex === rowsList.length - 1) {
|
||||||
var newRow = angular.copy($scope.row);
|
var newRow = angular.copy($scope.row);
|
||||||
newRow.panels = [];
|
newRow.panels = [];
|
||||||
|
$scope.dashboard.current.rows.push(newRow);
|
||||||
$scope.duplicate(newRow);
|
$scope.duplicate(newRow);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user