Fix "no results" on overview page

pull/1082/head
Chocobozzz 2018-09-17 10:28:38 +02:00
parent 2ff83ae292
commit 860cfb31e3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,8 @@ export class OverviewService {
}
}
if (observables.length === 0) return of(videosOverviewResult)
return forkJoin(observables)
.pipe(
// Translate categories

View File

@ -660,6 +660,7 @@ if (isTestInstance() === true) {
CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000
MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1
ROUTE_CACHE_LIFETIME.OVERVIEWS.VIDEOS = '0'
}
updateWebserverConfig()