Skip to content

Commit 1d5a068

Browse files
committed
better
1 parent 904a044 commit 1d5a068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: js_modules/dagster-ui/packages/ui-core/src/runs/useRunsForTimeline.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ export const useRunsForTimeline = ({
507507

508508
const jobName = isAdHoc ? 'Ad hoc materializations' : pipeline.name;
509509

510+
addedJobKeys.add(jobKey);
510511
const jobRuns = Object.values(runsByJobKey[jobKey] || {});
511512
if (!jobTicks.length && !jobRuns.length) {
512513
continue;
@@ -515,7 +516,6 @@ export const useRunsForTimeline = ({
515516
const runs = [...jobRuns, ...jobTicks];
516517

517518
let row = jobsWithCompletedRunsAndOngoingRuns[jobKey];
518-
addedJobKeys.add(jobKey);
519519
if (row) {
520520
row = {...row, runs};
521521
} else {

0 commit comments

Comments
 (0)