Thomas Kaul
					
					4 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
2 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -261,7 +261,7 @@ export class TransactionsPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }: OrderModel): void { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open(CreateOrUpdateTransactionDialog, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      data: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        accounts: this.user.accounts.filter((account) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        accounts: this.user?.accounts?.filter((account) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return account.accountType === 'SECURITIES'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        transaction: { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -346,7 +346,7 @@ export class TransactionsPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  private openCreateTransactionDialog(aTransaction?: OrderModel): void { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open(CreateOrUpdateTransactionDialog, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      data: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        accounts: this.user.accounts.filter((account) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        accounts: this.user?.accounts?.filter((account) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return account.accountType === 'SECURITIES'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        transaction: { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |