- {{ 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