Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
svk31 committed Mar 2, 2018
2 parents 4ddc125 + f96b124 commit ab2f891
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions app/components/Modal/BorrowModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,14 @@ class BorrowModalContent extends React.Component {
a.getIn(["call_price", "quote", "asset_id"]) ===
props.quote_asset.get("id")
);
}) || {
collateral: null,
debt: null
};
});

currentPosition = !!currentPosition
? currentPosition.toJS()
: {
collateral: null,
debt: null
};
}
return currentPosition;
}
Expand Down

0 comments on commit ab2f891

Please sign in to comment.