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

Update packages/node_modules/@node-red/editor-client/src/js/ui/search.js

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Stephen McLaughlin 2022-09-03 21:54:41 +01:00 committed by GitHub
parent 5f159c1fbd
commit c038c99f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ RED.search = (function() {
val = extractFlag(val,"modified",flags);
val = extractValue(val,"flow",flags);// flow:current or flow:<flow-id>
val = extractValue(val,"uses",flags);// uses:<node-id>
val = extractType(val,flags);// uses:<node-id>
val = extractType(val,flags);// type:<node-type>
val = val.trim();
const hasFlags = Object.keys(flags).length > 0;
const hasTypeFilter = flags.type && flags.type.length > 0