Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/fix base currency in pricing page (#180)

Thomasee9a52181360
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f3b598d2cc..e4fb393e50 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+- Fixed the base currency on the pricing page
+
## 1.20.0 - 21.06.2021
### Added
diff --git a/apps/client/src/app/pages/pricing/pricing-page.html b/apps/client/src/app/pages/pricing/pricing-page.html
index ffd86fbb2e..d7563cea6d 100644
--- a/apps/client/src/app/pages/pricing/pricing-page.html
+++ b/apps/client/src/app/pages/pricing/pricing-page.html
@@ -181,7 +181,10 @@
>{{ user?.settings.baseCurrency || baseCurrency }}
<ng-container *ngIf="coupon"
><strong>{{ price - coupon }} </strong>
- <del>{{ user.settings.baseCurrency }} {{ price }}</del>
+ <del
+ >{{ user?.settings.baseCurrency || baseCurrency }} {{ price
+ }}</del
+ >
</ng-container>
<ng-container *ngIf="!coupon"
><strong>{{ price }}</strong></ng-container