From c60d5418f2381096b859311e0c0cb2a5b6ac41af Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 24 Apr 2023 11:25:30 +0200 Subject: [PATCH] Refactor period breakdown to separate component --- .../ftbot/BacktestResultPeriodBreakdown.vue | 49 ++++++++++++++++++ src/components/ftbot/BacktestResultView.vue | 50 +++---------------- 2 files changed, 55 insertions(+), 44 deletions(-) create mode 100644 src/components/ftbot/BacktestResultPeriodBreakdown.vue diff --git a/src/components/ftbot/BacktestResultPeriodBreakdown.vue b/src/components/ftbot/BacktestResultPeriodBreakdown.vue new file mode 100644 index 00000000..b0cf420b --- /dev/null +++ b/src/components/ftbot/BacktestResultPeriodBreakdown.vue @@ -0,0 +1,49 @@ + + + diff --git a/src/components/ftbot/BacktestResultView.vue b/src/components/ftbot/BacktestResultView.vue index 96955ce1..078263ed 100644 --- a/src/components/ftbot/BacktestResultView.vue +++ b/src/components/ftbot/BacktestResultView.vue @@ -46,27 +46,12 @@ - - - + @@ -84,8 +69,9 @@