1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix search indexing of group nodes

This commit is contained in:
Nick O'Leary 2020-06-14 22:46:46 +01:00
parent 61d9ccf263
commit 2d0ca20a03
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -59,6 +59,9 @@ RED.search = (function() {
} }
for (var i=0;i<properties.length;i++) { for (var i=0;i<properties.length;i++) {
if (n.hasOwnProperty(properties[i])) { if (n.hasOwnProperty(properties[i])) {
if (n.type === "group" && properties[i] === "nodes") {
continue;
}
indexProperty(n, l, n[properties[i]]); indexProperty(n, l, n[properties[i]]);
} }
} }