Skip to content

Commit 728f801

Browse files
committed
Refactor selection method to allow all types of DbItem lists
1 parent dbba697 commit 728f801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/remote-queries/repository-selection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function getRepositorySelection(
3737
dbManager?: DbManager,
3838
): Promise<RepositorySelection> {
3939
if (isNewQueryRunExperienceEnabled()) {
40-
const selectedDbItem = await dbManager?.selectedDbItem();
40+
const selectedDbItem = await dbManager?.getSelectedDbItem();
4141
if (selectedDbItem) {
4242
switch (selectedDbItem.kind) {
4343
case DbItemKind.LocalDatabase || DbItemKind.LocalList:

0 commit comments

Comments
 (0)