mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ignore 'type' when detecting config nodes
This commit is contained in:
parent
444a897410
commit
10b092a9a7
@ -321,6 +321,7 @@ Flow.prototype.parseConfig = function(config) {
|
|||||||
}
|
}
|
||||||
for (var prop in nodeConfig) {
|
for (var prop in nodeConfig) {
|
||||||
if (nodeConfig.hasOwnProperty(prop) &&
|
if (nodeConfig.hasOwnProperty(prop) &&
|
||||||
|
prop != "type" &&
|
||||||
prop != "id" &&
|
prop != "id" &&
|
||||||
prop != "z" &&
|
prop != "z" &&
|
||||||
prop != "wires" &&
|
prop != "wires" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user