Browse Source

Updates hiddenRefs migration

main
Keith Daulton 2 years ago
committed by Keith Daulton
parent
commit
168ccb8715
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      src/plus/webviews/graph/graphWebview.ts

+ 4
- 3
src/plus/webviews/graph/graphWebview.ts View File

@ -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…
Cancel
Save