This commit is contained in:
znetsixe
2026-03-11 11:13:11 +01:00
parent cbe868a148
commit 5e1f3946bf
5 changed files with 1013 additions and 282 deletions

View File

@@ -38,7 +38,7 @@
icon: "font-awesome/fa-tasks",
label: function () {
return this.positionIcon + " " + "valveGroupControl";
return (this.positionIcon || "") + " valveGroupControl";
},
oneditprepare: function() {
// Initialize the menu data for the node
@@ -55,6 +55,7 @@
},
oneditsave: function(){
const node = this;
let success = true;
// Validate logger properties using the logger menu
if (window.EVOLV?.nodes?.valveGroupControl?.loggerMenu?.saveEditor) {
@@ -65,6 +66,8 @@
if (window.EVOLV?.nodes?.valveGroupControl?.positionMenu?.saveEditor) {
window.EVOLV.nodes.valveGroupControl.positionMenu.saveEditor(this);
}
return success;
}
});