From 2d4a8cad9373702e400bad536d4320b398aa2d90 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 6 Apr 2023 07:16:57 +0200 Subject: [PATCH] Types in backtestResultView --- src/components/ftbot/BacktestResultView.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ftbot/BacktestResultView.vue b/src/components/ftbot/BacktestResultView.vue index eb28ab67..4619c223 100644 --- a/src/components/ftbot/BacktestResultView.vue +++ b/src/components/ftbot/BacktestResultView.vue @@ -29,7 +29,7 @@ small hover stacked="sm" - :items="backtestResult.exit_reason_summary || backtestResult.sell_reason_summary" + :items="(backtestResult.exit_reason_summary || backtestResult.sell_reason_summary) as unknown as TableItem[]" :fields="perExitReason" > @@ -39,7 +39,7 @@ small hover stacked="sm" - :items="backtestResult.results_per_pair" + :items="backtestResult.results_per_pair as unknown as TableItem[]" :fields="perPairFields" > @@ -68,7 +68,7 @@ import { formatPrice, humanizeDurationFromSeconds, } from '@/shared/formatters'; -import { TableField } from 'bootstrap-vue-next'; +import { TableField, TableItem } from 'bootstrap-vue-next'; const props = defineProps({ backtestResult: { required: true, type: Object as () => StrategyBacktestResult },