Skip to content

Commit e2094bb

Browse files
committed
save isCdvSummaryHidden repo state
fixes commit summary hidden when switching focus
1 parent cf9df0b commit e2094bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2735,6 +2735,7 @@ class GitGraphView {
27352735
let cdvSummaryToggleBtn = document.getElementById('cdvSummaryToggleBtn');
27362736
if (cdvSummaryToggleBtn !== null) cdvSummaryToggleBtn.addEventListener('click', () => {
27372737
this.gitRepos[this.currentRepo].isCdvSummaryHidden = !(this.gitRepos[this.currentRepo].isCdvSummaryHidden);
2738+
this.saveRepoState();
27382739
this.hideCdvSummary(this.gitRepos[this.currentRepo].isCdvSummaryHidden);
27392740
});
27402741
this.hideCdvSummary(this.gitRepos[this.currentRepo].isCdvSummaryHidden);

0 commit comments

Comments
 (0)