From 5ab5a1cbb1dcd739b283226b2dbb2d337e9c9fcc Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 28 Mar 2018 14:56:15 -0700 Subject: [PATCH] Make the job<->job-summary relationship reflective The job summary needed a JobID --- ui/app/serializers/job-summary.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/serializers/job-summary.js b/ui/app/serializers/job-summary.js index c3c8f67cd..87badef45 100644 --- a/ui/app/serializers/job-summary.js +++ b/ui/app/serializers/job-summary.js @@ -7,6 +7,7 @@ export default ApplicationSerializer.extend({ // TaskGroupSummary fragment list hash.PlainJobId = hash.JobID; hash.ID = JSON.stringify([hash.JobID, hash.Namespace || 'default']); + hash.JobID = hash.ID; hash.TaskGroupSummaries = Object.keys(get(hash, 'Summary') || {}).map(key => { const allocStats = get(hash, `Summary.${key}`) || {};