Skip to content

Commit

Permalink
Don't show "Open in Developer Console" on non-OpenShift clusters
Browse files Browse the repository at this point in the history
- Fix condition for when the context menu item is shown

Fixes redhat-developer#3814

Signed-off-by: David Thompson <davthomp@redhat.com>
  • Loading branch information
datho7561 committed Jan 18, 2024
1 parent bc41991 commit e43822d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@
},
{
"command": "openshift.resource.openInDeveloperConsole",
"when": "view == openshiftProjectExplorer && viewItem == openshift.k8sObject || openshift.k8sObject.helm || viewItem == openshift.k8sObject.route && isOpenshiftCluster"
"when": "view == openshiftProjectExplorer && (viewItem == openshift.k8sObject || openshift.k8sObject.helm || viewItem == openshift.k8sObject.route) && isOpenshiftCluster"
},
{
"command": "openshift.resource.openInBrowser",
Expand Down

0 comments on commit e43822d

Please sign in to comment.