mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-13 11:12:32 +00:00
Sort sold Names by highest price first
This commit is contained in:
parent
833cd05532
commit
0fd4a88575
@ -679,7 +679,7 @@ class NamesMarket extends LitElement {
|
||||
|
||||
async updatePageSoldSize() {
|
||||
this.filteredSoldItems = []
|
||||
this.marketSoldNames.sort((a, b) => parseFloat(a.amount) - parseFloat(b.amount))
|
||||
this.marketSoldNames.sort((b, a) => parseFloat(a.amount) - parseFloat(b.amount))
|
||||
this.filteredSoldItems = this.marketSoldNames
|
||||
await this.setSoldPages()
|
||||
await this.updateItemsSoldFromPage(1, true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user