Removed error when machine doesnt have curve so node-red doesnt crash when you dont select a machine

This commit is contained in:
znetsixe
2025-11-13 19:39:05 +01:00
parent 6528c966d8
commit fb75fb8a11
2 changed files with 14 additions and 7 deletions

View File

@@ -54,7 +54,7 @@
icon: "font-awesome/fa-cog",
label: function () {
return this.positionIcon + " " + this.category.slice(0, -1) || "Machine";
return this.positionIcon + " " + this.category || "Machine";
},
oneditprepare: function() {