Skip to content

Commit

Permalink
Backport of [ui] Bugfix: prevent parent job from showing another job'…
Browse files Browse the repository at this point in the history
…s dispatches when it has none into release/1.9.x (#24697)

Co-authored-by: Phil Renaud <[email protected]>
  • Loading branch information
hc-github-team-nomad-core and philrenaud authored Dec 18, 2024
1 parent 56d851a commit d38cb71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/24668.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fix an issue where 2 parent jobs would see the others dispatches if it were otherwise empty
```
1 change: 1 addition & 0 deletions ui/app/controllers/jobs/job/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default class IndexController extends Controller.extend(
{ id, namespace },
throttle = Ember.testing ? 0 : 2000
) {
this.childJobs = [];
while (true) {
let params = {
filter: `ParentID == "${id}"`,
Expand Down

0 comments on commit d38cb71

Please sign in to comment.