diff --git a/src/reprocess/ReprocessResultTable.vue b/src/reprocess/ReprocessResultTable.vue index a3aec1e..87074c2 100644 --- a/src/reprocess/ReprocessResultTable.vue +++ b/src/reprocess/ReprocessResultTable.vue @@ -17,7 +17,7 @@ const props = withDefaults(defineProps(), { const threshold = useStorage('reprocess-threshold', 0); const useSellOrder = useStorage('reprocess-use-sell-order', false); -const { sortedArray, headerProps } = useSort(computed(() => props.result.map(r =>({ +const { sortedArray, headerProps } = useSort(computed(() => props.result.map(r => ({ ...r, buy_ratio: r.buy === 0 ? 1 : (r.buy_reprocess / r.buy) - 1, sell_ratio: r.sell === 0 ? 1 : (r.sell_reprocess / r.sell) - 1