Don't show side if spot, removed brackets

This commit is contained in:
daniila 2022-08-04 10:12:25 +00:00
parent 673ba6a0a1
commit 9413ff8c33

View File

@ -11,7 +11,12 @@
:active="trade.open_timestamp === selectedTrade.open_timestamp"
@click="onTradeSelect(trade)"
>
<div>{{ trade.is_short ? '[S]-' : '[L]-' }}<DateTimeTZ :date="trade.open_timestamp" /></div>
<div>
<span v-if="botStore.activeBot.botState.trading_mode !== 'spot'">{{
trade.is_short ? 'S-' : 'L-'
}}</span>
<DateTimeTZ :date="trade.open_timestamp" />
</div>
<TradeProfit :trade="trade" />
<ProfitPill
v-if="backtestMode"