1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00
metamask-extension/ui/app/pages/swaps/select-quote-popover
Mark Stacey 5789bd86c0
Fix sorting Quote Source column of quote sort list (#9658)
Sorting was broken for the "Quote Source" column of the quote sort
list. Attempting to sort by this column would arrange the quotes in a
seemingly random order.

It appears that this was due to this column being programmed to sort by
a property called `liquiditySource`, which does not exist in the quote
data. I'm unsure what the difference between `liquiditySource` and
`quoteSource` was supposed to be; the values in the mocks are all
identical.

All references to `liquiditySource` have been updated to refer to
`quoteSource` instead, and the sorting now works correctly.
2020-10-20 12:14:04 -02:30
..
quote-details Fix swap prop type errors (#9532) 2020-10-09 13:08:01 -02:30
sort-list Fix sorting Quote Source column of quote sort list (#9658) 2020-10-20 12:14:04 -02:30
index.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
index.scss Add margins between quote list columns (#9528) 2020-10-09 16:12:13 -02:30
mock-quote-data.js Fix sorting Quote Source column of quote sort list (#9658) 2020-10-20 12:14:04 -02:30
select-quote-popover-constants.js Fix sorting Quote Source column of quote sort list (#9658) 2020-10-20 12:14:04 -02:30
select-quote-popover.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
select-quote-popover.stories.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30