Skip to content

Commit

Permalink
fix quantity display
Browse files Browse the repository at this point in the history
  • Loading branch information
sagivo committed Mar 9, 2018
1 parent e76b9e8 commit 12cdb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Orders.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class Orders extends Component {
<td>{d.side}</td>
<td>{d.symbol}</td>
<td>{d.trigger === 'stop' ? 'stop' : d.type}</td>
<td>{num(d.quantity, { before: '$', noSymbol: true })}</td>
<td>{parseInt(d.quantity)}</td>
<td>{num(d.average_price || d.price, { before: '$', noSymbol: true })}</td>
<td>{d.fees}</td>
{!(d.state === 'queued' || d.state === 'confirmed') && <td>{d.state}</td>}
Expand Down

0 comments on commit 12cdb33

Please sign in to comment.