Update code style to prettier3 rules

This commit is contained in:
Matthias 2023-07-11 22:02:02 +02:00
parent 7e89f66512
commit 86989fac6b
3 changed files with 11 additions and 10 deletions

View File

@ -29,7 +29,10 @@
small
hover
stacked="sm"
:items="(backtestResult.exit_reason_summary || backtestResult.sell_reason_summary) as unknown as TableItem[]"
:items="
(backtestResult.exit_reason_summary ||
backtestResult.sell_reason_summary) as unknown as TableItem[]
"
:fields="perExitReason"
>
</b-table>
@ -49,9 +52,8 @@
header="Periodic breakdown"
class="row mt-2 w-100"
>
<BacktestResultPeriodBreakdown
:periodic-breakdown="backtestResult.periodic_breakdown"
></BacktestResultPeriodBreakdown>
<BacktestResultPeriodBreakdown :periodic-breakdown="backtestResult.periodic_breakdown">
</BacktestResultPeriodBreakdown>
</b-card>
<b-card header="Single trades" class="row mt-2 w-100">

View File

@ -50,9 +50,8 @@ const exchangeList = computed(() => {
});
const tradeModesTyped = computed(() => {
const val = botStore.activeBot.exchangeList.find(
(ex) => ex.name === exchangeModel.value.exchange,
)?.trade_modes;
const val = botStore.activeBot.exchangeList.find((ex) => ex.name === exchangeModel.value.exchange)
?.trade_modes;
return val ?? [];
});