Browse Source

fix format

pull/5027/head
Dan 1 year ago
parent
commit
80e88fcb04
  1. 16
      apps/client/src/app/pages/portfolio/analysis/analysis-page.html

16
apps/client/src/app/pages/portfolio/analysis/analysis-page.html

@ -11,8 +11,16 @@
[daysInMarket]="daysInMarket"
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart"
[locale]="user?.settings?.locale"
[performanceDataItems]="timeWeightedPerformance === 'O' ? [] :performanceDataItemsInPercentage"
[timeWeightedPerformanceDataItems]="timeWeightedPerformance === 'N' ? [] :performanceDataItemsTimeWeightedInPercentage"
[performanceDataItems]="
timeWeightedPerformance === 'O'
? []
: performanceDataItemsInPercentage
"
[timeWeightedPerformanceDataItems]="
timeWeightedPerformance === 'N'
? []
: performanceDataItemsTimeWeightedInPercentage
"
[user]="user"
(benchmarkChanged)="onChangeBenchmark($event)"
></gf-benchmark-comparator>
@ -24,7 +32,9 @@
<span i18n>Include time-weighted performance </span>
<gf-toggle
[defaultValue]="timeWeightedPerformance"
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart"
[isLoading]="
isLoadingBenchmarkComparator || isLoadingInvestmentChart
"
[options]="timeWeightedPerformanceOptions"
(change)="onTimeWeightedPerformanceChanged($event.value)"
></gf-toggle>

Loading…
Cancel
Save