query-editor: refresh panel when editor mode changed
This commit is contained in:
1
dist/datasource-zabbix/query.controller.js
vendored
1
dist/datasource-zabbix/query.controller.js
vendored
@@ -364,6 +364,7 @@ System.register(['app/plugins/sdk', 'lodash', './constants', './utils', './metri
|
||||
value: function switchEditorMode(mode) {
|
||||
this.target.mode = mode;
|
||||
this.init();
|
||||
this.targetChanged();
|
||||
}
|
||||
}]);
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -358,6 +358,7 @@ var ZabbixQueryController = exports.ZabbixQueryController = function (_QueryCtrl
|
||||
value: function switchEditorMode(mode) {
|
||||
this.target.mode = mode;
|
||||
this.init();
|
||||
this.targetChanged();
|
||||
}
|
||||
}]);
|
||||
|
||||
|
||||
@@ -293,6 +293,7 @@ export class ZabbixQueryController extends QueryCtrl {
|
||||
switchEditorMode(mode) {
|
||||
this.target.mode = mode;
|
||||
this.init();
|
||||
this.targetChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user