Commit aa8c8814 by Torkel Ödegaard

fix: duplicate graphite panel was not working when new row needed to be created

parent abac12d2
......@@ -447,6 +447,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
if (rowIndex === rowsList.length - 1) {
var newRow = angular.copy($scope.row);
newRow.panels = [];
$scope.dashboard.current.rows.push(newRow);
$scope.duplicate(newRow);
}
else {
......
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