Skip to content

Commit

Permalink
fix: remove temp fix for desync w/ dirty flag
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Jul 7, 2023
1 parent c1a456e commit 2be5c4c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/zowe-explorer/src/job/ZoweJobNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,6 @@ export class Job extends ZoweTreeNode implements IZoweJobTreeNode {
.sort((a, b) => a.job.jobid - b.job.jobid)
.filter((c) => this.children.find((ch) => ch.label === c.label) == null);

// If there are no new children to add, return the cached list
if (Object.keys(elementChildren).length > 0 && newChildren.length == 0) {
this.dirty = false;
return this.children;
}

// Remove any children that are no longer present in the built record
this.children = this.children
.concat(newChildren)
Expand Down

0 comments on commit 2be5c4c

Please sign in to comment.