mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixes #1, duplicate panel with 3 colspan remaining on row
This commit is contained in:
parent
73b96ef4ca
commit
8a469863d4
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user