Skip to content

Commit

Permalink
feat: add refresh to the WU context menu
Browse files Browse the repository at this point in the history
Signed-off-by: David de Hilster <[email protected]>
  • Loading branch information
dehilsterlexis committed Feb 21, 2024
1 parent bd3f656 commit 8614649
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,11 @@
"submenu": "setPriority",
"group": "5action@900"
},
{
"when": "view == hpccPlatform && viewItem =~ /ECLWUNode/",
"command": "hpccPlatform.refresh",
"group": "6action@900"
},
{
"command": "hpccResources.bundles.homepage",
"when": "view == hpccResources.bundles && viewItem =~ /^BundlesItem/",
Expand Down
2 changes: 1 addition & 1 deletion src/ecl/eclWatchTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ECLWatchTree extends Tree {
});

vscode.commands.registerCommand("hpccPlatform.refresh", (element?: Item) => {
this.refresh(element);
this.refresh();
});

vscode.commands.registerCommand("hpccPlatform.openResults", (wuNode: ECLWUNode) => {
Expand Down

0 comments on commit 8614649

Please sign in to comment.