User dropdown

User id in acquisition
about
This commit is contained in:
2024-05-16 10:41:12 +02:00
parent 0e4f1103d4
commit 6d67e92749
10 changed files with 105 additions and 13 deletions

View File

@@ -36,7 +36,7 @@ defineEmits<Emits>();
const marketTaxStore = useMarketTaxStore();
const threshold = useStorage('market-aquisition-threshold', 10);
const threshold = useStorage('market-acquisition-threshold', 10);
const filter = ref("");
const { sortedArray, headerProps } = useSort<Result>(computed(() => props.items
.filter(r => r.type.name.toLowerCase().includes(filter.value.toLowerCase()))
@@ -107,7 +107,7 @@ const getLineColor = (result: Result) => {
<td class="text-right">{{ formatIsk(r.sell) }}</td>
<td class="text-right">{{ formatIsk(r.price) }}</td>
<td class="text-right">{{ r.count }}</td>
<td class="text-right">{{ percentFormater.format(r.precentProfit) }}</td>
<td class="text-right">{{ percentFormater.format(r.precentProfit) }}</td>
<td class="text-right">{{ formatIsk(r.iskProfit) }}</td>
<td class="text-right">
<button class="btn-icon me-1" @click="$emit('buy', r.type, r.price, r.buy, r.sell)"><PlusIcon /></button>