瀏覽代碼

Updates hiddenRefs migration

main
Keith Daulton 2 年之前
committed by Keith Daulton
父節點
當前提交
168ccb8715
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. +4
    -3
      src/plus/webviews/graph/graphWebview.ts

+ 4
- 3
src/plus/webviews/graph/graphWebview.ts 查看文件

@ -1301,9 +1301,10 @@ export class GraphWebview extends WebviewBase {
for (const id in storedHiddenRefs) {
const repoPath = getRepoPathFromBranchOrTagId(id);
filtersByRepo[repoPath] = updateRecordValue(
filtersByRepo[repoPath]?.excludeRefs,
'excludeRefs',
filtersByRepo[repoPath] = filtersByRepo[repoPath] ?? {};
filtersByRepo[repoPath].excludeRefs = updateRecordValue(
filtersByRepo[repoPath].excludeRefs,
id,
storedHiddenRefs[id],
);
}

Loading…
取消
儲存