This commit is contained in:
jokob-sk committed 2025-03-18 06:32:44 +11:00
1 parent 1efdf66c19
commit 0512ddd143
4 files changed
+31 -80

No files matched your search

+4 -1
View File
@@ -38,7 +38,7 @@ let fieldOptions = [
];
let triggerTypes = [
"Devices", "Plugins_Objects"
"Devices"
];
let operatorTypes = [
@@ -474,6 +474,7 @@ function createEditableDropdown(jsonPath, labelText, options, selectedValue, id)
jsonPath: jsonPath,
class: "form-control col-sm-8 col-xs-12"
});
// Add options to the select dropdown
$.each(options, function (_, option) {
@@ -788,6 +789,8 @@ function removeAction(wfIndex, actionIndex) {
return;
}
console.log(actionIndex);
// Remove the specified condition
target.actions.splice(actionIndex, 1);