Search: Fix up a few duration and upload time related options

This commit is contained in:
Svallinn 2021-05-20 17:21:26 +01:00
parent 089cd5845b
commit 56f4c37735
No known key found for this signature in database
GPG Key ID: 09FB527F34037CCA
1 changed files with 3 additions and 3 deletions

View File

@ -200,9 +200,9 @@ const actions = {
if (searchSettings.duration !== '') {
let filterValue = null
if (searchSettings.duration === 'short') {
filterValue = 'Short (< 4 minutes)'
filterValue = 'Under 4 minutes'
} else if (searchSettings.duration === 'long') {
filterValue = 'Long (> 20 minutes)'
filterValue = 'Over 20 minutes'
}
filterUrl = filter.get('Duration').get(filterValue).url
@ -216,7 +216,7 @@ const actions = {
switch (searchSettings.time) {
case 'hour':
filterValue = 'Last Hour'
filterValue = 'Last hour'
break
case 'today':
filterValue = 'Today'