InfluxDB: save dashboard issue, another fix for #859

This commit is contained in:
Torkel Ödegaard
2014-09-30 09:02:25 +02:00
parent eaa899e9cf
commit 64f3303711
@@ -215,9 +215,9 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) {
if (id === title) { return; }
var self = this;
self._getDashboardInternal(id, isTemp).then(function(dashboard) {
self._getDashboardInternal(title, isTemp).then(function(dashboard) {
if (dashboard !== null) {
self.deleteDashboard(id);
self.deleteDashboard(title);
}
});
};