Make sure to properly load the entries for the last day
This commit is contained in:
parent
93dec70fe7
commit
6cc0482bfb
3 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue