Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -725,19 +725,17 @@ export class CopilotCloudSessionsProvider extends Disposable implements vscode.C

try {
const items = await this.getRepositoriesOptionItems(repoIds);
if (items.length > 0) {
optionGroups.push({
id: REPOSITORIES_OPTION_GROUP_ID,
name: vscode.l10n.t('Repository'),
description: vscode.l10n.t('Select repository'),
icon: new vscode.ThemeIcon('repo'),
items,
commands: [{
command: OPEN_REPOSITORY_COMMAND_ID,
title: vscode.l10n.t('Browse repositories...'),
}]
});
}
optionGroups.push({
id: REPOSITORIES_OPTION_GROUP_ID,
name: vscode.l10n.t('Repository'),
description: vscode.l10n.t('Select repository'),
icon: new vscode.ThemeIcon('repo'),
items,
commands: [{
command: OPEN_REPOSITORY_COMMAND_ID,
title: vscode.l10n.t('Browse repositories...'),
}]
});

} catch (error) {
this.logService.error(`Error fetching repositories: ${error}`);
Expand Down