Merge pull request #1803 from slimatic/fix-incorrect-ui-metric-value

fix(BotProfit.vue): fix incorrect ROI metric
This commit is contained in:
Matthias 2024-03-21 18:03:03 +01:00 committed by GitHub
commit 3d14f24429
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ const profitItems = computed<TableItem[]>(() => {
if (!props.profit) return []; if (!props.profit) return [];
return [ return [
{ {
metric: 'ROI open trades', metric: 'ROI closed trades',
value: props.profit.profit_closed_coin value: props.profit.profit_closed_coin
? `${formatPriceCurrency( ? `${formatPriceCurrency(
props.profit.profit_closed_coin, props.profit.profit_closed_coin,