Browse Source

Sort sold Names by highest price first

qortal-ui-dev
QuickMythril 1 year ago
parent
commit
0fd4a88575
  1. 2
      qortal-ui-plugins/plugins/core/names-market/names-market.src.js

2
qortal-ui-plugins/plugins/core/names-market/names-market.src.js

@ -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…
Cancel
Save