Ver Fonte

Merge pull request #26 from johanwiren/add_title_on_import

Sets graph title when importing from graphite
Torkel Ödegaard há 12 anos atrás
pai
commit
76b535a2e4
1 ficheiros alterados com 2 adições e 1 exclusões
  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, _) {
 
   });
 
-});
+});