Просмотр исходного кода

Merge pull request #30 from johanwiren/fix_graphite_import

Fixed graphite import to include all graphs in a dashboard.
Torkel Ödegaard 12 лет назад
Родитель
Сommit
5688f792cb
1 измененных файлов с 1 добавлено и 0 удалено
  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 = {