Browse Source

Fixes last fetched updating with single repo

main
Eric Amodio 4 years ago
parent
commit
c87cc26f70
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/views/commitsView.ts

+ 6
- 1
src/views/commitsView.ts View File

@ -147,7 +147,12 @@ export class CommitsRepositoryNode extends RepositoryFolderNode
if (interval !== Repository.getLastFetchedUpdateInterval(lastFetched)) {
void this.resetSubscription();
}
void this.view.triggerNodeChange(this);
if (this.splatted) {
void this.view.triggerNodeChange(this.parent ?? this);
} else {
void this.view.triggerNodeChange(this);
}
}, interval),
);
}

Loading…
Cancel
Save