Sfoglia il codice sorgente

Fixed graphite import to include all graphs in a dashboard.

Johan Wirén 12 anni fa
parent
commit
3ffc04be4d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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 = {