Skip to content

Commit

Permalink
Task: remove 'no entry' icon (#5683)
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome authored Oct 31, 2024
1 parent a0a69dd commit 745a4ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vscode/microsoft-kiota/src/providers/openApiTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ function createKiotaOpenApiNode(
type IconSet = string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri } | vscode.ThemeIcon;
export class OpenApiTreeNode extends vscode.TreeItem {
private static readonly selectedSet: IconSet = new vscode.ThemeIcon('check');
private static readonly unselectedSet: IconSet = new vscode.ThemeIcon('circle-slash');

constructor(
public readonly path: string,
Expand All @@ -434,7 +433,7 @@ export class OpenApiTreeNode extends vscode.TreeItem {
super(label, collapsibleState);
this.id = `${path}_${filterTokens.join('_')}`; // so the collapsed state is NOT persisted between filter changes
this.contextValue = label === pathSeparator + " (" + apiTitle + ")" ? 'apiTitle' : (this.documentationUrl ? 'documentationUrl' : '');
this.iconPath = selected ? OpenApiTreeNode.selectedSet : OpenApiTreeNode.unselectedSet;
this.iconPath = selected ? OpenApiTreeNode.selectedSet : ' ';
if (clientNameOrPluginName) {
this.label = clientNameOrPluginName;
this.contextValue = 'clientNameOrPluginName';
Expand Down

0 comments on commit 745a4ac

Please sign in to comment.