Commit 3ffc04be by Johan Wirén

Fixed graphite import to include all graphs in a dashboard.

parent 76b535a2
...@@ -65,6 +65,7 @@ function (angular, app, _) { ...@@ -65,6 +65,7 @@ function (angular, app, _) {
_.each(state.graphs, function(graph) { _.each(state.graphs, function(graph) {
if (currentRow.panels.length === graphsPerRow) { if (currentRow.panels.length === graphsPerRow) {
currentRow = angular.copy(rowTemplate); currentRow = angular.copy(rowTemplate);
newDashboard.rows.push(currentRow);
} }
panel = { panel = {
......
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