| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -7,7 +7,6 @@ import { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  User | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} from '@ghostfolio/common/interfaces'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { hasPermission, permissions } from '@ghostfolio/common/permissions'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { BenchmarkTrend } from '@ghostfolio/common/types'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { GfBenchmarkComponent } from '@ghostfolio/ui/benchmark'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -137,17 +136,7 @@ export class HomeWatchlistComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      .fetchWatchlist() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      .pipe(takeUntil(this.unsubscribeSubject)) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      .subscribe(({ watchlist }) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.watchlist = watchlist.map( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          ({ dataSource, marketCondition, name, performances, symbol }) => ({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            dataSource, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            marketCondition, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            name, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            performances, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            symbol, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            trend50d: 'UNKNOWN' as BenchmarkTrend, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            trend200d: 'UNKNOWN' as BenchmarkTrend | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.watchlist = watchlist; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.changeDetectorRef.markForCheck(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |