Closed arirubinstein closed 1 year ago
@samsiegart I'm leaning towards updating this warning to 'One or more vaults is at risk of liquidation...' to cover all cases. Thoughts?
@otoole-brendan We can detect if it's one or multiple and show different text in each case if that's preferable.
@samsiegart likely trivial but let's punt to V+1 to reduce noise for release
Describe the bug
When one or more vaults are at risk of liquidation, the test at the top reads "A vault is at risk", referring to a singular vault when there are more than one vaults at risk.
If the information is available, include the number of vaults that are at risk of liquidation, and if not, pluralize the warning to handle both cases of 1 vault or 2
bafybeiaw6ll7gyrqni4dd2cj5ns5twqznlrvql3vngh2vi3cuzot4d47uq.ipfs.cf-ipfs.com