fix sql bindings package.json when menu command (#20056)

This commit is contained in:
Vasu Bhog
2022-07-15 13:35:50 -07:00
committed by GitHub
parent 7cd1a80891
commit 9c85baa824

View File

@@ -56,7 +56,7 @@
"view/item/context": [ "view/item/context": [
{ {
"command": "sqlBindings.createAzureFunction", "command": "sqlBindings.createAzureFunction",
"when": "view == objectExplorer && (viewItem == Table || viewItem == View)", "when": "view == objectExplorer && viewItem =~ /^Table$|^View$/",
"group": "zAzure_Function@1" "group": "zAzure_Function@1"
} }
] ]