diff --git a/src/plus/webviews/graph/graphWebview.ts b/src/plus/webviews/graph/graphWebview.ts index 788bb3c..62941db 100644 --- a/src/plus/webviews/graph/graphWebview.ts +++ b/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], ); }