mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15:15 +00:00
Don't show long/short if trading spot
This commit is contained in:
parent
a158605303
commit
06ba81c681
|
@ -43,7 +43,11 @@
|
|||
</template>
|
||||
<template #cell(trade_id)="row">
|
||||
{{ row.item.trade_id }}
|
||||
{{ botApiVersion > 2.0 ? '| ' + (row.item.is_short ? 'Short' : 'Long') : '' }}
|
||||
{{
|
||||
botApiVersion > 2.0 && row.item.trading_mode !== 'spot'
|
||||
? '| ' + (row.item.is_short ? 'Short' : 'Long')
|
||||
: ''
|
||||
}}
|
||||
</template>
|
||||
<template #cell(profit)="row">
|
||||
<trade-profit :trade="row.item" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user