Merge pull request #2005 from github/nora/update-panel-remote-icon

DB panel: use cloud icon for variant analysis repositories
This commit is contained in:
Nora
2023-01-25 11:52:09 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ export function createDbTreeViewItemRepo(
): DbTreeViewItem {
return new DbTreeViewItem(
dbItem,
new vscode.ThemeIcon("database"),
new vscode.ThemeIcon("cloud"),
repoName,
undefined,
vscode.TreeItemCollapsibleState.None,

View File

@@ -340,7 +340,7 @@ describe("db panel rendering nodes", () => {
function checkRemoteRepoItem(item: DbTreeViewItem, repoName: string): void {
expect(item.label).toBe(repoName);
expect(item.tooltip).toBeUndefined();
expect(item.iconPath).toEqual(new ThemeIcon("database"));
expect(item.iconPath).toEqual(new ThemeIcon("cloud"));
expect(item.collapsibleState).toBe(TreeItemCollapsibleState.None);
checkDbItemActions(item, [
"canBeSelected",