Browse Source

Fixes empty search results in graph

main
Keith Daulton 2 years ago
parent
commit
891241e81d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/webviews/apps/plus/graph/GraphWrapper.tsx

+ 1
- 1
src/webviews/apps/plus/graph/GraphWrapper.tsx View File

@ -264,7 +264,7 @@ export function GraphWrapper({
}, [graphRows]);
useEffect(() => {
if (searchResultIds == null) {
if (searchResultIds == null || searchResultIds.length === 0) {
setSearchResultKey(undefined);
return;
}

Loading…
Cancel
Save