Skip to content

Commit 8717b43

Browse files
authored
Sync getting started and open recent (microsoft#160719)
1 parent 0a6d820 commit 8717b43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ export class GettingStartedPage extends EditorPane {
277277
}));
278278

279279
this.recentlyOpened = workspacesService.getRecentlyOpened();
280+
this._register(workspacesService.onDidChangeRecentlyOpened(() => {
281+
this.recentlyOpened = workspacesService.getRecentlyOpened();
282+
rerender();
283+
}));
280284
}
281285

282286
// remove when 'workbench.welcomePage.preferReducedMotion' deprecated

0 commit comments

Comments
 (0)