فهرست منبع

Sets graph title when importing from graphite

Johan Wirén 12 سال پیش
والد
کامیت
6e27f97bc9
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/app/controllers/graphiteImport.js

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

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