fix notebook provider (#19678)

This commit is contained in:
Lucy Zhang
2022-06-08 15:04:50 -07:00
committed by GitHub
parent 2911de58c2
commit e2535c85c5

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, {