Skip to content

Commit 28abd40

Browse files
committed
Add repo to list when child is highlighted
1 parent 758c182 commit 28abd40

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

extensions/ql-vscode/src/databases/ui/db-panel.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ export class DbPanel extends DisposableObject {
8686

8787
if (highlightedItem?.kind === DbItemKind.RemoteUserDefinedList) {
8888
await this.addNewRemoteRepo(highlightedItem.listName);
89+
} else if (
90+
highlightedItem?.kind === DbItemKind.RemoteRepo &&
91+
highlightedItem.parentListName
92+
) {
93+
await this.addNewRemoteRepo(highlightedItem.parentListName);
8994
} else {
9095
const quickPickItems = [
9196
{

0 commit comments

Comments
 (0)