updates
This commit is contained in:
5
vgc.html
5
vgc.html
@@ -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;
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user