query-editor: refresh panel when editor mode changed

This commit is contained in:
Alexander Zobnin
2017-07-25 17:30:36 +03:00
parent 859556c08e
commit 6b4ace6b54
4 changed files with 4 additions and 1 deletions

View File

@@ -293,6 +293,7 @@ export class ZabbixQueryController extends QueryCtrl {
switchEditorMode(mode) {
this.target.mode = mode;
this.init();
this.targetChanged();
}
}