Commit ae2523aa by Torkel Ödegaard

Merge branch 'v1.8.x'

parents 06f382c4 bf361d2b
{ {
"version": "1.8.0", "version": "1.8.1",
"url": "http://grafanarel.s3.amazonaws.com/grafana-1.8.0.tar.gz" "url": "http://grafanarel.s3.amazonaws.com/grafana-1.8.1.tar.gz"
} }
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"company": "Coding Instinct AB" "company": "Coding Instinct AB"
}, },
"name": "grafana", "name": "grafana",
"version": "1.8.0", "version": "1.8.1",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "http://github.com/torkelo/grafana.git" "url": "http://github.com/torkelo/grafana.git"
......
...@@ -215,9 +215,9 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) { ...@@ -215,9 +215,9 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) {
if (id === title) { return; } if (id === title) { return; }
var self = this; var self = this;
self._getDashboardInternal(id, isTemp).then(function(dashboard) { self._getDashboardInternal(title, isTemp).then(function(dashboard) {
if (dashboard !== null) { if (dashboard !== null) {
self.deleteDashboard(id); self.deleteDashboard(title);
} }
}); });
}; };
......
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