Make sure to properly load the entries for the last day

This commit is contained in:
Joseph Schorr 2013-12-09 21:13:21 -05:00
parent 93dec70fe7
commit 6cc0482bfb
3 changed files with 5 additions and 4 deletions

View file

@ -788,7 +788,7 @@ quayApp.directive('logsView', function () {
}
var twoWeeksAgo = getOffsetDate($scope.logEndDate, -14);
if ($scope.logStartDate >= $scope.logEndDate || $scope.logStartDate < twoWeeksAgo) {
if ($scope.logStartDate > $scope.logEndDate || $scope.logStartDate < twoWeeksAgo) {
$scope.logStartDate = twoWeeksAgo;
}