Skip to content

Commit

Permalink
clear region filters
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Twydell <[email protected]>
  • Loading branch information
AndrewTwydell committed Feb 5, 2025
1 parent 86f72bf commit 9799e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vsce/src/commands/clearPlexFilterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const clearResourcesMethodMap: { [key: string]: (region: CICSRegionTree) => Prom
};

const getResourceToClear = async (profile: imperative.IProfile) => {
let clearOptions = ["Programs", "Local Transactions", "Local Files", "Tasks", "Libraries", "All"];
let clearOptions = ["Regions", "Programs", "Local Transactions", "Local Files", "Tasks", "Libraries", "All"];
if (profile.regionName && profile.cicsPlex) {
clearOptions = ["Regions", ...clearOptions];
}
Expand Down Expand Up @@ -81,8 +81,8 @@ export function getClearPlexFilterCommand(tree: CICSTree, treeview: TreeView<any
clearResourcesMethodMap[resourceToClear](region);
}
}
tree._onDidChangeTreeData.fire(undefined);
}
tree._onDidChangeTreeData.fire(undefined);
}
});
}

0 comments on commit 9799e27

Please sign in to comment.