Skip to content

Commit

Permalink
add viewItem when clause for object browser refresh
Browse files Browse the repository at this point in the history
Signed-off-by: Sanjula Ganepola <[email protected]>
  • Loading branch information
SanjulaGanepola authored and chrjorgensen committed Jun 22, 2024
1 parent 835a919 commit 36fe2ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2612,7 +2612,7 @@
},
{
"command": "code-for-ibmi.refreshObjectBrowserItem",
"when": "view == objectBrowser",
"when": "view == objectBrowser && viewItem =~ /^(filter|object.*library|SPF).*$/",
"group": "99_objectBrowserAction@1"
},
{
Expand Down Expand Up @@ -2752,7 +2752,7 @@
},
{
"command": "code-for-ibmi.refreshIFSBrowserItem",
"when": "view == ifsBrowser && viewItem =~ /^(directory|shortcut).*$/",
"when": "view == ifsBrowser && viewItem =~ /^(shortcut|directory).*$/",
"group": "99_ifsBrowserAction@1"
},
{
Expand Down

0 comments on commit 36fe2ef

Please sign in to comment.