Browse Source
			
			
			Bugfix/fix asset profile details dialog (#1232)
			
				* Fix dialog for assets without (first) activity
* Update changelog
			
			
				pull/1233/head
			
			
		 
		
			
				
					
						 Thomas Kaul
					
					3 years ago
						Thomas Kaul
					
					3 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
10 additions and 
3 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
- 
					
					
					 
					apps/client/src/app/components/admin-market-data/admin-market-data.component.ts
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | - Added a benchmark comparator (experimental) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ### Fixed | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | - Improved the asset profile details dialog for assets without a (first) activity in the admin control panel | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ## 1.187.0 - 03.09.2022 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ### Added | 
			
		
	
	
		
			
				
					|  |  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -92,7 +92,6 @@ export class AdminMarketDataComponent implements OnDestroy, OnInit { | 
			
		
	
		
			
				
					|  |  |  |         if ( | 
			
		
	
		
			
				
					|  |  |  |           params['assetProfileDialog'] && | 
			
		
	
		
			
				
					|  |  |  |           params['dataSource'] && | 
			
		
	
		
			
				
					|  |  |  |           params['dateOfFirstActivity'] && | 
			
		
	
		
			
				
					|  |  |  |           params['symbol'] | 
			
		
	
		
			
				
					|  |  |  |         ) { | 
			
		
	
		
			
				
					|  |  |  |           this.openAssetProfileDialog({ | 
			
		
	
	
		
			
				
					|  |  | @ -170,12 +169,16 @@ export class AdminMarketDataComponent implements OnDestroy, OnInit { | 
			
		
	
		
			
				
					|  |  |  |     dateOfFirstActivity, | 
			
		
	
		
			
				
					|  |  |  |     symbol | 
			
		
	
		
			
				
					|  |  |  |   }: UniqueAsset & { dateOfFirstActivity: string }) { | 
			
		
	
		
			
				
					|  |  |  |     try { | 
			
		
	
		
			
				
					|  |  |  |       dateOfFirstActivity = format(parseISO(dateOfFirstActivity), DATE_FORMAT); | 
			
		
	
		
			
				
					|  |  |  |     } catch {} | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     this.router.navigate([], { | 
			
		
	
		
			
				
					|  |  |  |       queryParams: { | 
			
		
	
		
			
				
					|  |  |  |         dateOfFirstActivity, | 
			
		
	
		
			
				
					|  |  |  |         dataSource, | 
			
		
	
		
			
				
					|  |  |  |         symbol, | 
			
		
	
		
			
				
					|  |  |  |         assetProfileDialog: true, | 
			
		
	
		
			
				
					|  |  |  |         dateOfFirstActivity: format(parseISO(dateOfFirstActivity), DATE_FORMAT) | 
			
		
	
		
			
				
					|  |  |  |         assetProfileDialog: true | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     }); | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
	
		
			
				
					|  |  | 
 |