Commit 64f33037 by Torkel Ödegaard

InfluxDB: save dashboard issue, another fix for #859

parent eaa899e9
...@@ -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