Fixed node not showing up in pallete.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType("advanced-reactor", {
|
||||
category: 'wbd typical',
|
||||
category: 'WWTP',
|
||||
color: '#c4cce0',
|
||||
defaults: {
|
||||
name: {value:""}
|
||||
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user