fix(influxdb): Fix for Ad-Hoc Filters variable & changing dashboards, fixes #6821

This commit is contained in:
Torkel Ödegaard
2016-12-05 11:04:05 +01:00
parent ab07667b69
commit a9c0f66cda
3 changed files with 3 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ function(angular, _) {
_.each(dash.templating.list, function(value) {
value.current = null;
value.options = null;
value.filters = null;
});
};

View File

@@ -25,6 +25,7 @@ function (angular, _, kbn) {
this.updateTemplateData = function() {
this._index = {};
this._filters = {};
this._adhocVariables = {};
for (var i = 0; i < this.variables.length; i++) {
var variable = this.variables[i];