Skip to content

Commit

Permalink
refactor: Hide option from directories/PDS
Browse files Browse the repository at this point in the history
We're not in a place to easily support directories and PDS right now.
We can add support for this in the future once its easy to
access the profile node and execute a search on it programatically.

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
  • Loading branch information
traeok committed Oct 30, 2024
1 parent c6e8062 commit 4d41743
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/zowe-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@
"group": "002_zowe_ussSystemSpecific@5"
},
{
"when": "view == zowe.uss.explorer && viewItem =~ /^(?!(ussSession|favorite|profile_fav))/ && !listMultiSelection",
"when": "view == zowe.uss.explorer && viewItem =~ /^(?!(directory|favorite|profile_fav|ussSession))/ && !listMultiSelection",
"command": "zowe.copyExternalLink",
"group": "002_zowe_ussSystemSpecific@6"
},
Expand Down Expand Up @@ -1045,7 +1045,7 @@
"group": "098_zowe_dsMisc@0"
},
{
"when": "view == zowe.ds.explorer && viewItem =~ /^(pds|ds|migr|member).*/ && !listMultiSelection",
"when": "view == zowe.ds.explorer && viewItem =~ /^(ds|member).*/ && !listMultiSelection",
"command": "zowe.copyExternalLink",
"group": "098_zowe_dsMisc@1"
},
Expand Down Expand Up @@ -1235,7 +1235,7 @@
"group": "003_zowe_jobsMisc@0"
},
{
"when": "view == zowe.jobs.explorer && viewItem =~ /^(job|spool).*/",
"when": "view == zowe.jobs.explorer && viewItem =~ /^spool.*/",
"command": "zowe.copyExternalLink",
"group": "003_zowe_jobsMisc@1"
},
Expand Down

0 comments on commit 4d41743

Please sign in to comment.