Improve wording, add order count

This commit is contained in:
Matthias 2022-05-22 09:26:02 +02:00
parent d3b50390de
commit b6459c25db
2 changed files with 7 additions and 7 deletions

View File

@ -4,28 +4,28 @@
v-if="botApiVersion <= 1.1"
class="btn-xs text-left"
size="sm"
title="Forcesell"
title="Forceexit"
@click="$emit('forceSell', trade)"
>
<ForceSellIcon :size="16" title="Forcesell" class="mr-1" />Forcesell
<ForceSellIcon :size="16" title="Forceexit" class="mr-1" />Forceexit
</b-button>
<b-button
v-if="botApiVersion > 1.1"
class="btn-xs text-left"
size="sm"
title="Forcesell limit"
title="Forceexit limit"
@click="$emit('forceSell', trade, 'limit')"
>
<ForceSellIcon :size="16" title="Forcesell" class="mr-1" />Forcesell limit
<ForceSellIcon :size="16" title="Forceexit limit" class="mr-1" />Forceexit limit
</b-button>
<b-button
v-if="botApiVersion > 1.1"
class="btn-xs text-left mt-1"
size="sm"
title="Forcesell market"
title="Forceexit market"
@click="$emit('forceSell', trade, 'market')"
>
<ForceSellIcon :size="16" title="Forcesell" class="mr-1" />Forcesell market
<ForceSellIcon :size="16" title="Forceexit market" class="mr-1" />Forceexit market
</b-button>
<b-button

View File

@ -83,7 +83,7 @@
</ValuePair>
</div>
<details v-if="trade.orders">
<summary>Orders</summary>
<summary>Orders {{ trade.orders.length > 1 ? `[${trade.orders.length}]` : '' }}</summary>
<div v-for="(order, key) in trade.orders" :key="key">
<span>
(#{{ key + 1 }})