Fix "no results" on overview page
This commit is contained in:
parent
2ff83ae292
commit
860cfb31e3
|
@ -56,6 +56,8 @@ export class OverviewService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (observables.length === 0) return of(videosOverviewResult)
|
||||||
|
|
||||||
return forkJoin(observables)
|
return forkJoin(observables)
|
||||||
.pipe(
|
.pipe(
|
||||||
// Translate categories
|
// Translate categories
|
||||||
|
|
|
@ -660,6 +660,7 @@ if (isTestInstance() === true) {
|
||||||
|
|
||||||
CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000
|
CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000
|
||||||
MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1
|
MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1
|
||||||
|
ROUTE_CACHE_LIFETIME.OVERVIEWS.VIDEOS = '0'
|
||||||
}
|
}
|
||||||
|
|
||||||
updateWebserverConfig()
|
updateWebserverConfig()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user