aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/shared/overview/overview.service.ts2
-rw-r--r--server/initializers/constants.ts1
2 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/shared/overview/overview.service.ts b/client/src/app/shared/overview/overview.service.ts
index 4a4714af6..097079e6d 100644
--- a/client/src/app/shared/overview/overview.service.ts
+++ b/client/src/app/shared/overview/overview.service.ts
@@ -56,6 +56,8 @@ export class OverviewService {
56 } 56 }
57 } 57 }
58 58
59 if (observables.length === 0) return of(videosOverviewResult)
60
59 return forkJoin(observables) 61 return forkJoin(observables)
60 .pipe( 62 .pipe(
61 // Translate categories 63 // Translate categories
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 2e0b32ce2..02363352e 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -660,6 +660,7 @@ if (isTestInstance() === true) {
660 660
661 CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000 661 CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000
662 MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1 662 MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1
663 ROUTE_CACHE_LIFETIME.OVERVIEWS.VIDEOS = '0'
663} 664}
664 665
665updateWebserverConfig() 666updateWebserverConfig()