Skip to content

Commit

Permalink
Merge pull request #4423 from node-red/4415-handle-excluded-core-nodes
Browse files Browse the repository at this point in the history
Ensure typeSearch handles undefined node definitions
  • Loading branch information
knolleary committed Nov 7, 2023
2 parents 923339c + ad2b306 commit 6488111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ RED.typeSearch = (function() {
}
}
function applyFilter(filter,type,def) {
return !filter ||
return !def || !filter ||
(
(!filter.spliceMultiple) &&
(!filter.type || type === filter.type) &&
Expand Down

0 comments on commit 6488111

Please sign in to comment.