diff --git a/src/app/components/dashboard/dashboard.component.html b/src/app/components/dashboard/dashboard.component.html index dfdc7599..db3d39ef 100644 --- a/src/app/components/dashboard/dashboard.component.html +++ b/src/app/components/dashboard/dashboard.component.html @@ -225,6 +225,7 @@
+ [aprTooltip]="'APR (Estimated yearly returns on consensus layer (staking))'"> + [aprTooltip]="'APR (Estimated yearly returns on execution layer (transaction fees))'">
diff --git a/src/app/components/dashboard/performance-item.component.html b/src/app/components/dashboard/performance-item.component.html index 026d53f5..0c3a4c22 100644 --- a/src/app/components/dashboard/performance-item.component.html +++ b/src/app/components/dashboard/performance-item.component.html @@ -21,7 +21,7 @@
- {{ performanceData.performance1d | mcurrency : currency : unit.pref.Cons }} + {{ performanceData.performance1d | mcurrency : currency : targetCurrency }}
@@ -35,7 +35,7 @@
- {{ performanceData.performance7d | mcurrency : currency : unit.pref.Cons }} + {{ performanceData.performance7d | mcurrency : currency : targetCurrency }}
@@ -49,7 +49,7 @@
- {{ performanceData.performance31d | mcurrency : currency : unit.pref.Cons }} + {{ performanceData.performance31d | mcurrency : currency : targetCurrency }}
@@ -63,7 +63,7 @@
- {{ performanceData.total | mcurrency : currency : unit.pref.Cons }} + {{ performanceData.total | mcurrency : currency : targetCurrency }}
diff --git a/src/app/components/dashboard/performance-item.component.ts b/src/app/components/dashboard/performance-item.component.ts index c4f2841e..e5c23282 100644 --- a/src/app/components/dashboard/performance-item.component.ts +++ b/src/app/components/dashboard/performance-item.component.ts @@ -19,7 +19,7 @@ import { Component, Input } from '@angular/core' import { Performance } from 'src/app/controllers/OverviewController' -import { UnitconvService } from 'src/app/services/unitconv.service' +import { Currency, UnitconvService } from 'src/app/services/unitconv.service' @Component({ selector: 'app-performance-item', @@ -29,6 +29,7 @@ import { UnitconvService } from 'src/app/services/unitconv.service' export class PerformanceItemComponent { @Input() performanceData: Performance @Input() unit: UnitconvService + @Input() targetCurrency: Currency @Input() currency: string @Input() todayTooltip: string @Input() last7DaysTooltip: string