From 860cfb31e343f2317416da738f7155803ef4fe75 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 17 Sep 2018 10:28:38 +0200 Subject: Fix "no results" on overview page --- client/src/app/shared/overview/overview.service.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') 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 { } } + if (observables.length === 0) return of(videosOverviewResult) + return forkJoin(observables) .pipe( // Translate categories -- cgit v1.2.3