Explorar o código

Fixes #1, duplicate panel with 3 colspan remaining on row

Torkel Ödegaard %!s(int64=12) %!d(string=hai) anos
pai
achega
8a469863d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/app/panels/graphite/module.js

+ 1 - 1
src/app/panels/graphite/module.js

@@ -438,7 +438,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
     $scope.duplicate = function(addToRow) {
       addToRow = addToRow || $scope.row;
       var currentRowSpan = $scope.rowSpan(addToRow);
-      if (currentRowSpan <= 8) {
+      if (currentRowSpan <= 9) {
         addToRow.panels.push(angular.copy($scope.panel));
       }
       else {