Fix since filter on the builds list
This commit is contained in:
parent
3cd867b3ab
commit
e0f11f46e5
1 changed files with 2 additions and 2 deletions
|
@ -64,9 +64,9 @@ angular.module('quay').directive('repoPanelBuilds', function () {
|
||||||
|
|
||||||
var since = null;
|
var since = null;
|
||||||
|
|
||||||
if ($scope.options.filter == '48hours') {
|
if ($scope.options.filter == '48hour') {
|
||||||
since = Math.floor(moment().subtract(2, 'days').valueOf() / 1000);
|
since = Math.floor(moment().subtract(2, 'days').valueOf() / 1000);
|
||||||
} else if ($scope.options.filter == '30days') {
|
} else if ($scope.options.filter == '30day') {
|
||||||
since = Math.floor(moment().subtract(30, 'days').valueOf() / 1000);
|
since = Math.floor(moment().subtract(30, 'days').valueOf() / 1000);
|
||||||
} else {
|
} else {
|
||||||
since = null;
|
since = null;
|
||||||
|
|
Reference in a new issue