Explorar o código

Fixed graphite import to include all graphs in a dashboard.

Johan Wirén %!s(int64=12) %!d(string=hai) anos
pai
achega
3ffc04be4d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/app/controllers/graphiteImport.js

+ 1 - 0
src/app/controllers/graphiteImport.js

@@ -65,6 +65,7 @@ function (angular, app, _) {
       _.each(state.graphs, function(graph) {
         if (currentRow.panels.length === graphsPerRow) {
           currentRow = angular.copy(rowTemplate);
+          newDashboard.rows.push(currentRow);
         }
 
         panel = {