fix target duplication in query editor
This commit is contained in:
2
dist/panel-triggers/triggers_tab.js
vendored
2
dist/panel-triggers/triggers_tab.js
vendored
@@ -125,7 +125,7 @@ System.register(['lodash', '../datasource-zabbix/utils', './triggers_panel_ctrl'
|
||||
|
||||
_.each(this.panel.datasources, function (ds) {
|
||||
if (!_this2.panel.targets[ds]) {
|
||||
_this2.panel.targets[ds] = DEFAULT_TARGET;
|
||||
_this2.panel.targets[ds] = _.cloneDeep(DEFAULT_TARGET);
|
||||
}
|
||||
});
|
||||
this.parseTarget();
|
||||
|
||||
Reference in New Issue
Block a user