Fixing items sort by number in the market. (#10108)

fixes #10093
This commit is contained in:
Travis
2018-03-09 13:17:26 -08:00
committed by Sabe Jones
parent 1332fd68b0
commit 35849ebdd7
@@ -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;
}