Merge pull request #2323 from coreos-inc/FIX-logsview

fix(js/logs-view): correct var name
This commit is contained in:
Erica 2017-01-31 17:05:11 -05:00 committed by GitHub
commit 1b6f30cd98

View file

@ -333,7 +333,7 @@ angular.module('quay').directive('logsView', function () {
var isValidEndpoint = hasValidUser || hasValidOrg || hasValidRepo || $scope.allLogs; var isValidEndpoint = hasValidUser || hasValidOrg || hasValidRepo || $scope.allLogs;
var hasValidLogStartDate = !!$scope.options.logStartDate; var hasValidLogStartDate = !!$scope.options.logStartDate;
var hadValidLogEndDate = !!$scope.options.logEndDate; var hasValidLogEndDate = !!$scope.options.logEndDate;
var isValid = isValidEndpoint && hasValidLogStartDate && hasValidLogEndDate; var isValid = isValidEndpoint && hasValidLogStartDate && hasValidLogEndDate;