Skip to content

Commit 64e73c6

Browse files
authored
Merge pull request #2005 from github/nora/update-panel-remote-icon
DB panel: use cloud icon for variant analysis repositories
2 parents cf2dec9 + 1ec3905 commit 64e73c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/ql-vscode/src/databases/ui/db-tree-view-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function createDbTreeViewItemRepo(
131131
): DbTreeViewItem {
132132
return new DbTreeViewItem(
133133
dbItem,
134-
new vscode.ThemeIcon("database"),
134+
new vscode.ThemeIcon("cloud"),
135135
repoName,
136136
undefined,
137137
vscode.TreeItemCollapsibleState.None,

extensions/ql-vscode/test/vscode-tests/minimal-workspace/databases/db-panel-rendering.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ describe("db panel rendering nodes", () => {
340340
function checkRemoteRepoItem(item: DbTreeViewItem, repoName: string): void {
341341
expect(item.label).toBe(repoName);
342342
expect(item.tooltip).toBeUndefined();
343-
expect(item.iconPath).toEqual(new ThemeIcon("database"));
343+
expect(item.iconPath).toEqual(new ThemeIcon("cloud"));
344344
expect(item.collapsibleState).toBe(TreeItemCollapsibleState.None);
345345
checkDbItemActions(item, [
346346
"canBeSelected",

0 commit comments

Comments
 (0)