cleanup
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { formatIsk, percentFormater } from '@/formaters';
|
||||
import { MarketTypeLabel } from '@/market/type';
|
||||
import { SortableHeader, useSort } from '@/table';
|
||||
import { copyToClipboard } from '@/utils';
|
||||
import { useStorage } from '@vueuse/core';
|
||||
@@ -50,8 +51,7 @@ const { sortedArray, headerProps } = useSort(computed(() => props.result.map(r =
|
||||
<tbody>
|
||||
<tr v-for="r in sortedArray" :key="r.typeID" class="cursor-pointer" :class="{'bg-emerald-500': (useSellOrder ? r.sell_ratio : r.buy_ratio) >= threshold / 100 }" @click="copyToClipboard(r.name)">
|
||||
<td>
|
||||
<img :src="`https://images.evetech.net/types/${r.typeID}/icon`" class="inline-block w-5 h-5" />
|
||||
{{ r.name }}
|
||||
<MarketTypeLabel :id="r.typeID" :name="r.name" />
|
||||
</td>
|
||||
<td class="text-right">{{ formatIsk(useSellOrder ? r.sell : r.buy) }}</td>
|
||||
<td class="text-right">{{ formatIsk(useSellOrder ? r.sell_reprocess : r.buy_reprocess) }}</td>
|
||||
|
||||
Reference in New Issue
Block a user