cleanup
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { iskFormat } from '@/utils';
|
||||
import { iskFormater } from '@/utils';
|
||||
import { ref } from 'vue';
|
||||
import ReprocessInput from './ReprocessInput.vue';
|
||||
import { ReprocessItemValues, reprocess } from './reprocess';
|
||||
@@ -42,10 +42,10 @@ const send = async () => result.value = await reprocess(items.value, minerals.va
|
||||
<tbody>
|
||||
<tr v-for="r in result" :key="r.typeID" :class="{'bg-green-200': r.buy_reprocess >= r.sell}">
|
||||
<td class="border px-1">{{ r.typeID }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormat(r.buy) }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormat(r.buy_reprocess) }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormat(r.sell) }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormat(r.sell_reprocess) }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormater.format(r.buy) }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormater.format(r.buy_reprocess) }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormater.format(r.sell) }}</td>
|
||||
<td class="border text-right px-1">{{ iskFormater.format(r.sell_reprocess) }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user