Skip to content

Commit 33af257

Browse files
committed
Fixes extra overview call on home
1 parent 1b3c0d5 commit 33af257

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webviews/home/homeWebview.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,8 @@ export class HomeWebviewProvider implements WebviewProvider<State, State, HomeWe
806806

807807
@debug()
808808
private onOverviewRepoChanged(scope: 'repo' | 'wip') {
809+
if (this._etag === this.container.git.etag) return;
810+
809811
if (this._invalidateOverview !== 'repo') {
810812
this._invalidateOverview = scope;
811813
}

0 commit comments

Comments
 (0)