mirror of https://github.com/Chocobozzz/PeerTube
				
				
				
			Fix "no results" on overview page
							parent
							
								
									2ff83ae292
								
							
						
					
					
						commit
						860cfb31e3
					
				| 
						 | 
				
			
			@ -56,6 +56,8 @@ export class OverviewService {
 | 
			
		|||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (observables.length === 0) return of(videosOverviewResult)
 | 
			
		||||
 | 
			
		||||
    return forkJoin(observables)
 | 
			
		||||
      .pipe(
 | 
			
		||||
        // Translate categories
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue