mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Ensure context key provider set before session (#7024)
This commit is contained in:
@@ -280,8 +280,8 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
|
|||||||
await this.awaitNonDefaultProvider();
|
await this.awaitNonDefaultProvider();
|
||||||
await this._model.requestModelLoad();
|
await this._model.requestModelLoad();
|
||||||
this.detectChanges();
|
this.detectChanges();
|
||||||
await this._model.startSession(this._model.notebookManager, undefined, true);
|
|
||||||
this.setContextKeyServiceWithProviderId(this._model.providerId);
|
this.setContextKeyServiceWithProviderId(this._model.providerId);
|
||||||
|
await this._model.startSession(this._model.notebookManager, undefined, true);
|
||||||
this.fillInActionsForCurrentContext();
|
this.fillInActionsForCurrentContext();
|
||||||
this.detectChanges();
|
this.detectChanges();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user