Sfoglia il codice sorgente

Updates hiddenRefs migration

main
Keith Daulton 2 anni fa
committed by Keith Daulton
parent
commit
168ccb8715
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. +4
    -3
      src/plus/webviews/graph/graphWebview.ts

+ 4
- 3
src/plus/webviews/graph/graphWebview.ts Vedi 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],
);
}

Caricamento…
Annulla
Salva