mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
committed by
Nick O'Leary
parent
039bd1ddc0
commit
81256279a8
@@ -201,7 +201,7 @@ module.exports = function(RED) {
|
||||
} else if (rule.t === 'set') {
|
||||
target.set(property,value);
|
||||
} else if (rule.t === 'change') {
|
||||
current = target.get(msg,property);
|
||||
current = target.get(property);
|
||||
if (typeof current === 'string') {
|
||||
if ((fromType === 'num' || fromType === 'bool' || fromType === 'str') && current === fromValue) {
|
||||
// str representation of exact from number/boolean
|
||||
|
Reference in New Issue
Block a user