Parcourir la source

Merge pull request #26 from johanwiren/add_title_on_import

Sets graph title when importing from graphite
Torkel Ödegaard il y a 12 ans
Parent
commit
76b535a2e4
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/app/controllers/graphiteImport.js

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

@@ -70,6 +70,7 @@ function (angular, app, _) {
         panel = {
           type: 'graphite',
           span: 12 / graphsPerRow,
+          title: graph[1].title,
           targets: []
         };
 
@@ -87,4 +88,4 @@ function (angular, app, _) {
 
   });
 
-});
+});