From cf95033351347b8d73482e50884172d396398a92 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 19 Oct 2017 10:17:04 -0700 Subject: [PATCH] Expect JobVersion in one of two places --- ui/app/serializers/allocation.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/app/serializers/allocation.js b/ui/app/serializers/allocation.js index 6d46dcaef..b8a52d809 100644 --- a/ui/app/serializers/allocation.js +++ b/ui/app/serializers/allocation.js @@ -20,6 +20,8 @@ export default ApplicationSerializer.extend({ return summary; }); + hash.JobVersion = hash.JobVersion != null ? hash.JobVersion : get(hash, 'Job.Version'); + // TEMPORARY: https://github.com/emberjs/data/issues/5209 hash.OriginalJobId = hash.JobID;