Skip to content

Commit 6fb9b05

Browse files
authored
WorkbenchContextKeysHandler accesses hasCapability on undefined (fix microsoft#183226) (microsoft#183248)
1 parent 7e41715 commit 6fb9b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ export class GettingStartedPage extends EditorPane {
304304
override async setInput(newInput: GettingStartedInput, options: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken) {
305305
this.container.classList.remove('animatable');
306306
this.editorInput = newInput;
307-
await this.lifecycleService.when(LifecyclePhase.Restored);
308307
await super.setInput(newInput, options, context, token);
308+
await this.lifecycleService.when(LifecyclePhase.Restored);
309309
await this.buildCategoriesSlide();
310310
if (this.shouldAnimate()) {
311311
setTimeout(() => this.container.classList.add('animatable'), 0);

0 commit comments

Comments
 (0)