Fixed node not showing up in pallete.

This commit is contained in:
2025-06-12 12:52:32 +02:00
parent 49334f59e9
commit 2182bed343
2 changed files with 8 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<script type="text/javascript">
RED.nodes.registerType("advanced-reactor", {
category: 'wbd typical',
category: 'WWTP',
color: '#c4cce0',
defaults: {
name: {value:""}

View File

@@ -4,6 +4,11 @@ module.exports = function(RED) {
var node = this;
let name = config.name;
node.on('input', function(msg) {
msg.payload = msg.payload.toLowerCase();
node.send(msg);
});
}
RED.nodes.registerType("advanced-reactor", reactor);
}
};