Explorar el Código

Sets graph title when importing from graphite

Johan Wirén hace 12 años
padre
commit
6e27f97bc9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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, _) {
 
   });
 
-});
+});