From edd96629f8f899cc740f8c3bc7da9dacf66a57b0 Mon Sep 17 00:00:00 2001 From: Nacho Cordon Date: Wed, 27 Nov 2024 14:13:32 +0000 Subject: [PATCH] Fixes compilation --- packages/vscode-extension/src/connectionService.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/vscode-extension/src/connectionService.ts b/packages/vscode-extension/src/connectionService.ts index fca59cce..e3ecc5f5 100644 --- a/packages/vscode-extension/src/connectionService.ts +++ b/packages/vscode-extension/src/connectionService.ts @@ -307,12 +307,13 @@ export function getConnectionDatabases(): Pick< if ( !schemaPoller.metadata || - !schemaPoller.metadata.dbSchema?.databaseNames + !schemaPoller.metadata.dbSchema?.databasesInfo ) { return databases; } - return schemaPoller.metadata.dbSchema.databaseNames.map((name) => { + return schemaPoller.metadata.dbSchema.databasesInfo.map((dbInfo) => { + const name = dbInfo.name; const database = databases.find((db) => db.name === name); if (!database) { return {