Skip to content

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

Feature/improve position of currency column (#685)

Thomas Kaul6ac693dd39e0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6be1649804..7d723806ee 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,13 @@ 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
+
+### Changed
+
+- Improved the position of the currency column in the accounts table
+- Improved the position of the currency column in the activities table
+
## 1.112.1 - 06.02.2022
### Fixed
diff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.ts b/apps/client/src/app/components/accounts-table/accounts-table.component.ts
index eda979eaa1..34ddaea6ca 100644
--- a/apps/client/src/app/components/accounts-table/accounts-table.component.ts
+++ b/apps/client/src/app/components/accounts-table/accounts-table.component.ts
@@ -48,9 +48,9 @@ export class AccountsTableComponent implements OnChanges, OnDestroy, OnInit {
'account',
'platform',
'transactions',
- 'currency',
'balance',
- 'value'
+ 'value',
+ 'currency'
];
if (this.showActions) {
diff --git a/libs/ui/src/lib/activities-table/activities-table.component.ts b/libs/ui/src/lib/activities-table/activities-table.component.ts
index 2eaf837631..8ef94f1590 100644
--- a/libs/ui/src/lib/activities-table/activities-table.component.ts
+++ b/libs/ui/src/lib/activities-table/activities-table.component.ts
@@ -134,10 +134,10 @@ export class ActivitiesTableComponent implements OnChanges, OnDestroy {
'type',
'symbol',
'quantity',
- 'currency',
'unitPrice',
'fee',
'value',
+ 'currency',
'account',
'actions'
];