Borrow Power shows 100% when no assets are supplied as collateral
foodaka opened this issue · 4 comments
foodaka commented
When you supply assets and disable collateral the borrowing power used shows 100%. Should we hide this information or show a different message in this scenario?
Prerequisites
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
Expected Behavior 🤔
Steps to Reproduce 🕹
Steps:
Your Environment 🌎
info
browser: chrome
os: win10
vpn: yes
Console errors:
[error]: ...
sakulstra commented
@iamanastasia technically this is correct as 0 available means 100% used
, in this special case it's just 0 of 0... might make sense to just not show the bar in that case or show a message saying no collateral? idk
iamanastasia commented
@sakulstra But how it can be valid if user has Borrowed amount = 0? Should we add borrowed value check to the logic? If 0 then it's 0.
sakulstra commented
should be resolved and now show 0 %
MareskoY commented
done