Skip to content

Commit

Permalink
make some changes due to windows breakage
Browse files Browse the repository at this point in the history
Signed-off-by: Billie Simmons <[email protected]>
  • Loading branch information
JillieBeanSim committed Mar 3, 2025
1 parent 2423176 commit d98049e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/zowe-explorer/src/trees/dataset/DatasetTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@ export class DatasetTree extends ZoweTreeProvider<IZoweDatasetTreeNode> implemen
ZoweLogger.trace("DatasetTree.initializeFavChildNodeForProfile called.");
const profile = parentNode.getProfile();
let node: ZoweDatasetNode;
if (contextValue === Constants.DS_PDS_CONTEXT || contextValue === Constants.DS_DS_CONTEXT) {
if (contextValue === Constants.DS_PDS_CONTEXT) {
if (contextValue.includes(Constants.DS_PDS_CONTEXT) || contextValue.includes(Constants.DS_DS_CONTEXT)) {
if (contextValue.includes(Constants.DS_PDS_CONTEXT)) {
node = new ZoweDatasetNode({
label,
collapsibleState: vscode.TreeItemCollapsibleState.Collapsed,
Expand All @@ -469,7 +469,7 @@ export class DatasetTree extends ZoweTreeProvider<IZoweDatasetTreeNode> implemen
if (icon) {
node.iconPath = icon.path;
}
} else if (contextValue === Constants.DS_SESSION_CONTEXT) {
} else if (contextValue.includes(Constants.DS_SESSION_CONTEXT)) {
node = new ZoweDatasetNode({
label,
collapsibleState: vscode.TreeItemCollapsibleState.Collapsed,
Expand Down

0 comments on commit d98049e

Please sign in to comment.