aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/overview
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-17 10:28:38 +0200
committerChocobozzz <me@florianbigard.com>2018-09-17 10:28:38 +0200
commit860cfb31e343f2317416da738f7155803ef4fe75 (patch)
treed426eff8072972c122b5604e36cfc83bea3a0246 /client/src/app/shared/overview
parent2ff83ae2923aa93ccefb0fa989ae0bf138a46d77 (diff)
downloadPeerTube-860cfb31e343f2317416da738f7155803ef4fe75.tar.gz
PeerTube-860cfb31e343f2317416da738f7155803ef4fe75.tar.zst
PeerTube-860cfb31e343f2317416da738f7155803ef4fe75.zip
Fix "no results" on overview page
Diffstat (limited to 'client/src/app/shared/overview')
-rw-r--r--client/src/app/shared/overview/overview.service.ts2
1 files changed, 2 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