From e7956943babea4ebbac47c356611accd3808f356 Mon Sep 17 00:00:00 2001 From: Arshad Jamal Date: Fri, 20 Oct 2023 11:51:23 +0530 Subject: [PATCH] Make holdings request only once (#2453) * Make holdings request only once * Update changelog --- CHANGELOG.md | 4 ++++ .../app/components/home-holdings/home-holdings.component.ts | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c7cf1b2..643df352 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Changed the users table in the admin control panel to an `@angular/material` data table - Improved the styling of the membership status +### Fixed + +- Fixed an issue where holdings were requested twice from the server + ## 2.12.0 - 2023-10-17 ### Added diff --git a/apps/client/src/app/components/home-holdings/home-holdings.component.ts b/apps/client/src/app/components/home-holdings/home-holdings.component.ts index a83e71e8..bae02213 100644 --- a/apps/client/src/app/components/home-holdings/home-holdings.component.ts +++ b/apps/client/src/app/components/home-holdings/home-holdings.component.ts @@ -81,8 +81,6 @@ export class HomeHoldingsComponent implements OnDestroy, OnInit { .subscribe((impersonationId) => { this.hasImpersonationId = !!impersonationId; }); - - this.update(); } public onChangeDateRange(dateRange: DateRange) {