From 28e9bea4a25ad460e42e8d866fbef615d89a88a1 Mon Sep 17 00:00:00 2001 From: Rhys Date: Thu, 30 Mar 2023 15:32:34 -0400 Subject: [PATCH] fix(tree-explorer): use nameOnly for fetching databases VSCODE-361 (#505) --- src/explorer/connectionTreeItem.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/explorer/connectionTreeItem.ts b/src/explorer/connectionTreeItem.ts index 1f751a573..d731fcdeb 100644 --- a/src/explorer/connectionTreeItem.ts +++ b/src/explorer/connectionTreeItem.ts @@ -99,7 +99,9 @@ export default class ConnectionTreeItem } try { - const dbs = await dataService.listDatabases(); + const dbs = await dataService.listDatabases({ + nameOnly: true, + }); return dbs.map((dbItem) => dbItem.name); } catch (error) {