Skip to content

Near: handle amounts on cancelled/expired swap and bridge orders #6748

@elena-zh

Description

@elena-zh

might be related to #6131, but it is more important to address amounts than issues reported that task.

steps:

  1. place a swap and bridge order with Near
  2. cancel it or wait till the order is expired (set in the settings min order duration of 2 minutes)
  3. check the order amounts on modals/pop-ups/account modal

AR: there are weird amounts on:

  1. Order cancelling modal and pop-up
Image Image
  1. Account modal when an order is cancelled and expired
Image
  1. additionally, receiver should not be displayed on the 'order cancelled/expired' modals
Image Image

Expected: correct amounts should be displayed on al these places:

  • should correspond to amounts on the order submitted pop-up/progress bar
  • recipient should be displayed only if it differs from the order creator.
Image

Metadata

Metadata

Assignees

Labels

BridgeBugSomething isn't workingLowSeverity indicator for defects. It won't cause any major break-down of the system

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions