From 6ac693dd39e03392f21ccc49f32433cb0aa01333 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 9 Feb 2022 09:25:22 +0100 Subject: [PATCH] Feature/improve position of currency column (#685) * Move position of currency column * Update changelog --- CHANGELOG.md | 7 +++++++ .../components/accounts-table/accounts-table.component.ts | 4 ++-- .../src/lib/activities-table/activities-table.component.ts | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be16498..7d723806 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 eda979ea..34ddaea6 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 2eaf8376..8ef94f15 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' ];