Ver código fonte

Updates hiddenRefs migration

main
Keith Daulton 2 anos atrás
committed by Keith Daulton
pai
commit
168ccb8715
1 arquivos alterados com 4 adições e 3 exclusões
  1. +4
    -3
      src/plus/webviews/graph/graphWebview.ts

+ 4
- 3
src/plus/webviews/graph/graphWebview.ts Ver arquivo

@ -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],
);
}

Carregando…
Cancelar
Salvar