mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-11 14:59:12 +00:00
parent
1332fd68b0
commit
35849ebdd7
1 changed files with 4 additions and 2 deletions
|
|
@ -703,8 +703,10 @@ export default {
|
|||
break;
|
||||
}
|
||||
case 'sortByNumber': {
|
||||
result = _sortBy(result, i => {
|
||||
return this.userItems[i.purchaseType][i.key] || 0;
|
||||
result = _sortBy(result, item => {
|
||||
if (item.showCount === false) return 0;
|
||||
|
||||
return this.userItems[item.purchaseType][item.key] || 0;
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue