Commit 76b535a2 by Torkel Ödegaard

Merge pull request #26 from johanwiren/add_title_on_import

Sets graph title when importing from graphite
parents d9ada8d9 6e27f97b
...@@ -70,6 +70,7 @@ function (angular, app, _) { ...@@ -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, _) { ...@@ -87,4 +88,4 @@ function (angular, app, _) {
}); });
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment