Преглед изворни кода

hide logs when there are validation errors

Brian Gough пре 9 година
родитељ
комит
82b84fd5f4
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

+ 1 - 0
services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

@@ -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