Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/disable delete activities action if empty table (#5971)
Thomas Kaul9d50675ea130
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 50b341c813..ba7ef4d37b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed+- Disabled the action to delete activities if the activities table is empty- Resolved the data source of the `GHOSTFOLIO` data provider in the export functionality- Resolved the data source of the `GHOSTFOLIO` data provider in the import functionality- Improved the language localization for German (`de`)diff --git a/libs/ui/src/lib/activities-table/activities-table.component.html b/libs/ui/src/lib/activities-table/activities-table.component.htmlindex 46e1de8755..e9bebaa169 100644--- a/libs/ui/src/lib/activities-table/activities-table.component.html+++ b/libs/ui/src/lib/activities-table/activities-table.component.html@@ -59,7 +59,9 @@<buttonclass="align-items-center d-flex"mat-menu-item- [disabled]="!hasPermissionToDeleteActivity"+ [disabled]="+ dataSource?.data.length === 0 || !hasPermissionToDeleteActivity+ "(click)="onDeleteActivities()"><span class="align-items-center d-flex">