Merge pull request #4423 from node-red/4415-handle-excluded-core-nodes

Ensure typeSearch handles undefined node definitions
This commit is contained in:
Nick O'Leary
2023-11-07 17:39:46 +00:00
committed by GitHub

View File

@@ -323,7 +323,7 @@ RED.typeSearch = (function() {
}
}
function applyFilter(filter,type,def) {
return !filter ||
return !def || !filter ||
(
(!filter.spliceMultiple) &&
(!filter.type || type === filter.type) &&