Skip to content

Commit 89140c5

Browse files
authored
Debounce calls to git branch (#3887)
1 parent 286118f commit 89140c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/src/experiments/data/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export class ExperimentsData extends BaseData<ExpShowOutput> {
4141
}
4242

4343
public async update(): Promise<void> {
44+
void this.updateAvailableBranchesToSelect()
4445
const flags = this.experiments.getIsBranchesView()
4546
? [ExperimentFlag.ALL_BRANCHES]
4647
: [
@@ -95,7 +96,6 @@ export class ExperimentsData extends BaseData<ExpShowOutput> {
9596
if (
9697
watchedRelPaths.some(watchedRelPath => path.includes(watchedRelPath))
9798
) {
98-
void this.updateAvailableBranchesToSelect()
9999
return this.managedUpdate()
100100
}
101101
}

0 commit comments

Comments
 (0)