Skip to content

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

Bugfix/fix table sorting of holdings (#3572)

Thomas Kaulacc59866a326
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba8c5f80dd..b26a39a5c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ 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
+
+- Fixed the table sorting of the holdings tab on the home page
+
## 2.96.0 - 2024-07-13
### Changed
diff --git a/apps/client/src/app/components/home-holdings/home-holdings.html b/apps/client/src/app/components/home-holdings/home-holdings.html
index a2ea30a69d..b3ebe941c7 100644
--- a/apps/client/src/app/components/home-holdings/home-holdings.html
+++ b/apps/client/src/app/components/home-holdings/home-holdings.html
@@ -41,7 +41,8 @@
[holdings]="holdings"
(treemapChartClicked)="onSymbolClicked($event)"
/>
- } @else if (viewModeFormControl.value === 'TABLE') {
+ }
+ <div [ngClass]="{ 'd-none': viewModeFormControl.value !== 'TABLE' }">
<gf-holdings-table
[baseCurrency]="user?.settings?.baseCurrency"
[deviceType]="deviceType"
@@ -60,7 +61,7 @@
>
</div>
}
- }
+ </div>
</div>
</div>
</div>