resolution email: show n/a for canceled numeric
This commit is contained in:
		
							parent
							
								
									57090d8480
								
							
						
					
					
						commit
						b4394c8663
					
				| 
						 | 
				
			
			@ -116,7 +116,9 @@ const toDisplayResolution = (
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  if (contract.outcomeType === 'PSEUDO_NUMERIC') {
 | 
			
		||||
    const { resolutionValue } = contract
 | 
			
		||||
    const { resolution, resolutionValue } = contract
 | 
			
		||||
 | 
			
		||||
    if (resolution === 'CANCEL') return 'N/A'
 | 
			
		||||
 | 
			
		||||
    return resolutionValue
 | 
			
		||||
      ? formatLargeNumber(resolutionValue)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user