File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -87,18 +87,7 @@ export class PrsTreeModel extends Disposable {
8787 if ( e . new ) {
8888 prs . push ( { model : e . new , event : { } } ) ;
8989 }
90-
91- // When a new active PR is discovered (e.g. PR created on GitHub website),
92- // check if it's already in the local PR cache. If not, clear the local cache
93- // and fire a full folder refresh so the "Local Pull Request Branches" category
94- // picks up the newly-associated branch.
95- if ( e . new && ! this . _allCachedPRs . has ( e . new ) ) {
96- const cache = this . getFolderCache ( manager ) ;
97- cache . delete ( PRType . LocalPullRequest ) ;
98- this . _onDidChangeData . fire ( manager ) ;
99- } else {
100- this . _onDidChangeData . fire ( prs ) ;
101- }
90+ this . _onDidChangeData . fire ( prs ) ;
10291
10392 if ( this . _activePRDisposables . has ( manager ) ) {
10493 disposeAll ( this . _activePRDisposables . get ( manager ) ! ) ;
You can’t perform that action at this time.
0 commit comments