diff --git a/src/sql/workbench/parts/notebook/browser/notebook.component.ts b/src/sql/workbench/parts/notebook/browser/notebook.component.ts index 6c9cef3b50..0e72de00f8 100644 --- a/src/sql/workbench/parts/notebook/browser/notebook.component.ts +++ b/src/sql/workbench/parts/notebook/browser/notebook.component.ts @@ -280,8 +280,8 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe await this.awaitNonDefaultProvider(); await this._model.requestModelLoad(); this.detectChanges(); - await this._model.startSession(this._model.notebookManager, undefined, true); this.setContextKeyServiceWithProviderId(this._model.providerId); + await this._model.startSession(this._model.notebookManager, undefined, true); this.fillInActionsForCurrentContext(); this.detectChanges(); }