forked from Qortal/qortal-ui
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() {
|
async updatePageSoldSize() {
|
||||||
this.filteredSoldItems = []
|
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
|
this.filteredSoldItems = this.marketSoldNames
|
||||||
await this.setSoldPages()
|
await this.setSoldPages()
|
||||||
await this.updateItemsSoldFromPage(1, true)
|
await this.updateItemsSoldFromPage(1, true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user