Fix functions editor
This commit is contained in:
@@ -11,8 +11,9 @@ export function zabbixFunctionEditor($compile, templateSrv) {
|
|||||||
func="func"
|
func="func"
|
||||||
onRemove="ctrl.handleRemoveFunction"
|
onRemove="ctrl.handleRemoveFunction"
|
||||||
onMoveLeft="ctrl.handleMoveLeft"
|
onMoveLeft="ctrl.handleMoveLeft"
|
||||||
onMoveRight="ctrl.handleMoveRight"
|
onMoveRight="ctrl.handleMoveRight">
|
||||||
/><span>(</span>
|
</zbx-function-editor>
|
||||||
|
<span>(</span>
|
||||||
`;
|
`;
|
||||||
const paramTemplate =
|
const paramTemplate =
|
||||||
'<input type="text" style="display:none"' + ' class="input-small tight-form-func-param"></input>';
|
'<input type="text" style="display:none"' + ' class="input-small tight-form-func-param"></input>';
|
||||||
@@ -193,7 +194,7 @@ export function zabbixFunctionEditor($compile, templateSrv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (index > 0) {
|
if (index > 0) {
|
||||||
$('<span class="comma' + (last ? ' query-part__last' : '') + '">, </span>').appendTo(elem);
|
$('<span class="comma' + (last ? ' query-part__last' : '') + '">, </span>').appendTo(elem);
|
||||||
}
|
}
|
||||||
|
|
||||||
const $paramLink = $(
|
const $paramLink = $(
|
||||||
|
|||||||
Reference in New Issue
Block a user