Explorar el Código

Updates hiddenRefs migration

main
Keith Daulton hace 2 años
cometido por Keith Daulton
padre
commit
168ccb8715
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. +4
    -3
      src/plus/webviews/graph/graphWebview.ts

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

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

Cargando…
Cancelar
Guardar