feat(sidebar): apply type-only search filters
This commit is contained in:
1 parent
7d41e4123f
commit
f468eb8f47
3 files changed
+115
-6
No files matched your search
@@ -325,8 +325,8 @@ const filteredNodes = computed(() => {
|
||||
let nodes = store.treeNodes;
|
||||
|
||||
const q = deferredSearchQuery.value;
|
||||
nodes = filterSidebarTree(nodes, q, searchCollapsedIds.value, searchableNodeTypes.value);
|
||||
if (q) {
|
||||
nodes = filterSidebarTree(nodes, q, searchCollapsedIds.value, searchableNodeTypes.value);
|
||||
nodes = filterSidebarSearchRootsByConnectionState(nodes, store.connectedIds);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user