Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Task/include selected profile count in market data delete action (#7064)
David Requeno2589a60f288f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f964c9cae6..0a2337d890 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## Unreleased+### Changed++- Added the selected asset profile count to the delete menu item of the historical market data table in the admin control panel+### Fixed- Fixed an issue with the localization of the country namesdiff --git a/apps/client/src/app/components/admin-market-data/admin-market-data.html b/apps/client/src/app/components/admin-market-data/admin-market-data.htmlindex 63d4255139..e86e3e6319 100644--- a/apps/client/src/app/components/admin-market-data/admin-market-data.html+++ b/apps/client/src/app/components/admin-market-data/admin-market-data.html@@ -239,7 +239,18 @@[disabled]="!selection.hasValue()"(click)="onDeleteAssetProfiles()">- <ng-container i18n>Delete Profiles</ng-container>+ <ng-container i18n+ >Delete+ {{+ selection.selected.length > 1+ ? selection.selected.length+ : ''+ }}+ {selection.selected.length, plural,+ =1 {Profile}+ other {Profiles}+ }</ng-container+ ></button></mat-menu></th>