Skip to content

Commit

Permalink
fix(tree-explorer): use nameOnly for fetching databases VSCODE-361 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Anemy authored Mar 30, 2023
1 parent 15cdbc0 commit 28e9bea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/explorer/connectionTreeItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 28e9bea

Please sign in to comment.