Move proxy option to the datasource query editor
This commit is contained in:
@@ -304,6 +304,12 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<gf-form-switch class="gf-form"
|
||||||
|
label-class="width-8"
|
||||||
|
label="Host proxy"
|
||||||
|
checked="ctrl.target.options.hostProxy"
|
||||||
|
on-change="ctrl.onQueryOptionChange()">
|
||||||
|
</gf-form-switch>
|
||||||
<div class="gf-form">
|
<div class="gf-form">
|
||||||
<label class="gf-form-label width-8">Limit triggers</label>
|
<label class="gf-form-label width-8">Limit triggers</label>
|
||||||
<input class="gf-form-input width-5"
|
<input class="gf-form-input width-5"
|
||||||
|
|||||||
@@ -330,6 +330,7 @@ export class ZabbixQueryController extends QueryCtrl {
|
|||||||
sortTriggersBy: "Sort problems",
|
sortTriggersBy: "Sort problems",
|
||||||
showEvents: "Show events",
|
showEvents: "Show events",
|
||||||
limit: "Limit problems",
|
limit: "Limit problems",
|
||||||
|
hostProxy: "Show proxy",
|
||||||
};
|
};
|
||||||
var options = [];
|
var options = [];
|
||||||
_.forOwn(this.target.options, (value, key) => {
|
_.forOwn(this.target.options, (value, key) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user