diff options
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | js/main.js | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -25,8 +25,8 @@ <p><strong>State:</strong> {{selected.data.state}}</p> <p><strong>Most Recent Logs:</strong></p> <ul> - <li ng-repeat="(key, value) in selected.lastBuild.logs"> - <a ng-href="{{value[1]}}">{{key}} {{value[0]}}</a> + <li ng-repeat="step in selected.lastBuild.steps"> + <a ng-href="{{step.logs[0][1]}}">{{step.name}} {{step.logs[0][0]}}</a> </li> </ul> </div> @@ -34,7 +34,7 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) var details = { success: checkInArray(response.data.text, 'successful'), failed: checkInArray(response.data.text, 'failed'), - logs: response.data.logs + steps: response.data.steps }; $scope.steps.push({ name: key, |