瀏覽代碼

Fixes empty search results in graph

main
Keith Daulton 2 年之前
父節點
當前提交
891241e81d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/webviews/apps/plus/graph/GraphWrapper.tsx

+ 1
- 1
src/webviews/apps/plus/graph/GraphWrapper.tsx 查看文件

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

Loading…
取消
儲存