From aa8c88147193536b3b0d13ade93e09d392e9dd8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 3 Jan 2014 11:24:51 +0100 Subject: [PATCH] fix: duplicate graphite panel was not working when new row needed to be created --- src/app/panels/graphite/module.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/panels/graphite/module.js b/src/app/panels/graphite/module.js index 48354c27e54..f7602089fa7 100644 --- a/src/app/panels/graphite/module.js +++ b/src/app/panels/graphite/module.js @@ -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 {