Skip to content

Commit

Permalink
Make commands unavailable in command palette
Browse files Browse the repository at this point in the history
  • Loading branch information
tyaginidhi committed Oct 3, 2023
1 parent c538bc5 commit 19c6b7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,13 @@
"commands": [
{
"command": "powerpages.powerPagesFileExplorer.powerPagesRuntimePreview",
"title": "Preview Power Pages site"
"title": "Preview Power Pages site",
"when": "never"
},
{
"command": "powerpages.powerPagesFileExplorer.backToStudio",
"title": "Back to Studio"
"title": "Back to Studio",
"when": "never"
},
{
"command": "extension.createChatView",
Expand Down
1 change: 0 additions & 1 deletion src/web/client/webViews/powerPagesNavigationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export class PowerPagesNode extends vscode.TreeItem {
}

getIconPath(svgFileName: string) {
console.log(WebExtensionContext.extensionUri, vscode.Uri.joinPath(WebExtensionContext.extensionUri, '..', '..', 'src', 'web', 'client', 'assets', svgFileName));
return {
light: vscode.Uri.joinPath(WebExtensionContext.extensionUri, '..', '..', 'src', 'web', 'client', 'assets', svgFileName),
dark: vscode.Uri.joinPath(WebExtensionContext.extensionUri, '..', '..', 'src', 'web', 'client', 'assets', svgFileName)
Expand Down

0 comments on commit 19c6b7f

Please sign in to comment.