mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
fix notebook provider (#19678)
This commit is contained in:
@@ -47,6 +47,7 @@ export async function getStandardKernelsForProvider(providerId: string, notebook
|
|||||||
if (!standardKernels || standardKernels.length === 0) {
|
if (!standardKernels || standardKernels.length === 0) {
|
||||||
// Fall back to using SQL provider instead
|
// Fall back to using SQL provider instead
|
||||||
standardKernels = await notebookService.getStandardKernelsForProvider(SQL_NOTEBOOK_PROVIDER) ?? [];
|
standardKernels = await notebookService.getStandardKernelsForProvider(SQL_NOTEBOOK_PROVIDER) ?? [];
|
||||||
|
providerId = SQL_NOTEBOOK_PROVIDER;
|
||||||
}
|
}
|
||||||
standardKernels.forEach(kernel => {
|
standardKernels.forEach(kernel => {
|
||||||
Object.assign(<IStandardKernelWithProvider>kernel, {
|
Object.assign(<IStandardKernelWithProvider>kernel, {
|
||||||
|
|||||||
Reference in New Issue
Block a user