fix notebook provider (#19678) (#19684)

This commit is contained in:
Lucy Zhang
2022-06-08 15:55:54 -07:00
committed by GitHub
parent 2b8487115e
commit 066bf98535

View File

@@ -47,6 +47,7 @@ export async function getStandardKernelsForProvider(providerId: string, notebook
if (!standardKernels || standardKernels.length === 0) {
// Fall back to using SQL provider instead
standardKernels = await notebookService.getStandardKernelsForProvider(SQL_NOTEBOOK_PROVIDER) ?? [];
providerId = SQL_NOTEBOOK_PROVIDER;
}
standardKernels.forEach(kernel => {
Object.assign(<IStandardKernelWithProvider>kernel, {