From e2535c85c535389cba2107307cdf067458a9a345 Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Wed, 8 Jun 2022 15:04:50 -0700 Subject: [PATCH] fix notebook provider (#19678) --- .../workbench/services/notebook/browser/models/notebookUtils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sql/workbench/services/notebook/browser/models/notebookUtils.ts b/src/sql/workbench/services/notebook/browser/models/notebookUtils.ts index 9ade0408e9..77ffbe46c3 100644 --- a/src/sql/workbench/services/notebook/browser/models/notebookUtils.ts +++ b/src/sql/workbench/services/notebook/browser/models/notebookUtils.ts @@ -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(kernel, {