feat: Add current rate to detail view

This commit is contained in:
Matthias 2024-01-04 19:54:35 +01:00
parent 0e4626d952
commit 9e834b1eb3

View File

@ -14,6 +14,9 @@
>
<ValuePair description="Amount">{{ trade.amount }}</ValuePair>
<ValuePair description="Open Rate">{{ formatPrice(trade.open_rate) }}</ValuePair>
<ValuePair v-if="trade.is_open && trade.current_rate" description="Current Rate">{{
formatPrice(trade.current_rate)
}}</ValuePair>
<ValuePair v-if="!trade.is_open && trade.close_rate" description="Close Rate">{{
formatPrice(trade.close_rate)
}}</ValuePair>