show logs on failure.

This commit is contained in:
Shane Kilkelly 2016-03-22 16:59:40 +00:00
parent 2c321a4803
commit 62ececeef8

View file

@ -59,6 +59,7 @@ define [
else if response.status == "failure" else if response.status == "failure"
$scope.pdf.view = 'errors' $scope.pdf.view = 'errors'
$scope.pdf.failure = true $scope.pdf.failure = true
$scope.shouldShowLogs = true
fetchLogs() fetchLogs()
else if response.status == 'clsi-maintenance' else if response.status == 'clsi-maintenance'
$scope.pdf.view = 'errors' $scope.pdf.view = 'errors'