Ensure context key provider set before session (#7024)

This commit is contained in:
Chris LaFreniere
2019-08-30 15:32:55 -07:00
committed by GitHub
parent f1f8ef4734
commit 97a583e965

View File

@@ -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();
}