Skip to content

Commit b9e103b

Browse files
author
Aditya Bist
authored
fix context clause for viewlet commands on command palette (#1618)
1 parent f2a4e4c commit b9e103b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,11 @@
341341
},
342342
{
343343
"command": "mssql.copyObjectName",
344-
"when": "sideBarFocus && activeViewlet == workbench.view.extension.objectExplorer"
344+
"when": "view == objectExplorer && viewItem != Folder"
345+
},
346+
{
347+
"command": "mssql.runQueryHistory",
348+
"when": "view == queryHistory && viewItem == queryHistoryNode"
345349
}
346350
]
347351
},

0 commit comments

Comments
 (0)