From 78d34f36e4eeab133e6ce36e5497625ff8db4cdd Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2020 16:47:07 +0000 Subject: [PATCH] fix(travis): Refresh travis build information on each render (#8114) (#8164) Co-authored-by: sergio-pena Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 37292d89b1e02f8b5e7691b88db1e6b70e60bef6) Co-authored-by: Sergio Pena --- .../config/stages/travis/travisExecutionDetails.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/modules/core/src/pipeline/config/stages/travis/travisExecutionDetails.controller.ts b/app/scripts/modules/core/src/pipeline/config/stages/travis/travisExecutionDetails.controller.ts index 413d972efda..b499389a3ed 100644 --- a/app/scripts/modules/core/src/pipeline/config/stages/travis/travisExecutionDetails.controller.ts +++ b/app/scripts/modules/core/src/pipeline/config/stages/travis/travisExecutionDetails.controller.ts @@ -21,6 +21,7 @@ export class TravisExecutionDetailsCtrl implements IController { this.stage = this.$scope.stage; this.initialize(); this.$scope.$on('$stateChangeSuccess', () => this.initialize()); + this.$scope.$watch('stage.refId', () => (this.stage = $scope.stage)); } public initialized(): void {