hide logs when there are validation errors

This commit is contained in:
Brian Gough 2017-10-17 15:50:38 +01:00
parent bcabec1c5d
commit 82b84fd5f4

View file

@ -231,6 +231,7 @@ define [
else if response.status == "validation-problems"
$scope.pdf.view = "validation-problems"
$scope.pdf.validation = response.validationProblems
$scope.shouldShowLogs = false
else if response.status == "compile-in-progress"
$scope.pdf.view = 'errors'
$scope.pdf.compileInProgress = true