[Notebook] Open Kernel Alias (Kusto) notebook with Kernel Alias (Kusto) as selected kernel (#14504)

* Open kernel alias notebook with kernel alias as selected kernel

* Add language info test

* fix test

Co-authored-by: Vasu Bhog <bhogvu@mail.uc.edu>
This commit is contained in:
Vasu Bhog
2021-03-04 12:36:25 -08:00
committed by GitHub
parent ccde5123fa
commit 0141db80bc
3 changed files with 61 additions and 10 deletions

View File

@@ -337,6 +337,7 @@ export class KernelsDropdown extends SelectBox {
index = 0;
}
this.setOptions(kernels, index);
this.model.selectedKernelDisplayName = kernels[index];
}
} else if (this.model.clientSession?.isInErrorState) {
kernels.unshift(noKernelName);