From 660752ec7898051a70e0aca94a138ba96acde95f Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 14 Jan 2016 13:21:48 +0100 Subject: [PATCH] Fix build header for job with PR data --- app/models/job.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/job.js b/app/models/job.js index 5472f222..0b23ac41 100644 --- a/app/models/job.js +++ b/app/models/job.js @@ -26,6 +26,10 @@ export default Model.extend(DurationCalculations, { branch: Ember.computed.alias('build.branch'), branchName: Ember.computed.alias('build.branchName'), + pullRequest: Ember.computed.alias('build.pullRequest'), + pullRequestNumber: Ember.computed.alias('build.pullRequestNumber'), + pullRequestTitle: Ember.computed.alias('build.pullRequestTitle'), + log: function() { this.set('isLogAccessed', true); return Log.create({