Set kernelAlias in startSession when isValidConnection is truthy (#17102)

This commit is contained in:
Justin M
2021-09-20 14:01:21 -07:00
committed by GitHub
parent 4ce25a88bf
commit dec5be6915

View File

@@ -712,6 +712,7 @@ export class NotebookModel extends Disposable implements INotebookModel {
if (this.isValidConnection(profile)) {
this._activeConnection = profile;
this._savedConnectionName = profile.connectionName;
kernelAlias = this._currentKernelAlias;
}
clientSession.onKernelChanging(async (e) => {