Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Fix build details poller update
Browse files Browse the repository at this point in the history
Summary: Was seen after canceling a build - the "Recreate Build" button wasn't showing until page reload

Reviewers: vishal

Reviewed By: vishal

Maniphest Tasks: T25170

Differential Revision: https://tails.corp.dropbox.com/D84611
  • Loading branch information
stefan-avramov committed Jan 21, 2015
1 parent d1ea41d commit 4000cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/states/buildDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ define([
return;
}

$scope.hasTests = (features.tests && buildData.stats.test_count);
$scope.isFinished = (buildData.status.id == 'finished');
$scope.hasTests = (features.tests && data.stats.test_count);
$scope.isFinished = (data.status.id == 'finished');
$scope.build = data;
}

Expand Down

0 comments on commit 4000cf2

Please sign in to comment.