Skip to content

Commit 4f8db1d

Browse files
committed
clear region filters
Signed-off-by: Andrew Twydell <[email protected]>
1 parent 806a184 commit 4f8db1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vsce/src/commands/clearPlexFilterCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const clearResourcesMethodMap: { [key: string]: (region: CICSRegionTree) => Prom
3939
};
4040

4141
const getResourceToClear = async (profile: imperative.IProfile) => {
42-
let clearOptions = ["Programs", "Local Transactions", "Local Files", "Tasks", "Libraries", "All"];
42+
let clearOptions = ["Regions", "Programs", "Local Transactions", "Local Files", "Tasks", "Libraries", "All"];
4343
if (profile.regionName && profile.cicsPlex) {
4444
clearOptions = ["Regions", ...clearOptions];
4545
}
@@ -81,8 +81,8 @@ export function getClearPlexFilterCommand(tree: CICSTree, treeview: TreeView<any
8181
clearResourcesMethodMap[resourceToClear](region);
8282
}
8383
}
84-
tree._onDidChangeTreeData.fire(undefined);
8584
}
85+
tree._onDidChangeTreeData.fire(undefined);
8686
}
8787
});
8888
}

0 commit comments

Comments
 (0)