From 401e3df6cdec9a43dca363a244c5cf7c1d916c8c Mon Sep 17 00:00:00 2001 From: Phil Renaud Date: Tue, 17 Dec 2024 15:49:37 +0000 Subject: [PATCH] backport of commit 7746f290e6734d863b18600975b969de9bd002ee --- .changelog/24668.txt | 3 +++ ui/app/controllers/jobs/job/index.js | 1 + 2 files changed, 4 insertions(+) create mode 100644 .changelog/24668.txt diff --git a/.changelog/24668.txt b/.changelog/24668.txt new file mode 100644 index 00000000000..68bb9efc157 --- /dev/null +++ b/.changelog/24668.txt @@ -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 +``` diff --git a/ui/app/controllers/jobs/job/index.js b/ui/app/controllers/jobs/job/index.js index 220f8a82bf9..0479c0f7d01 100644 --- a/ui/app/controllers/jobs/job/index.js +++ b/ui/app/controllers/jobs/job/index.js @@ -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}"`,