Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/simplify user table of admin control panel (#5263)
Thomas Kaul4831f282dd74
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a8b6e9ea4d..25316d9667 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Improved the _Top 3_ and _Bottom 3_ performers on the analysis page by removing items without performance- Improved the usability of the toggle component+- Simplified the users table of the admin control panel- Restructured the response of the portfolio report endpoint (_X-ray_)- Refreshed the cryptocurrencies list- Improved the language localization for Catalan (`ca`)diff --git a/apps/client/src/app/components/admin-users/admin-users.component.ts b/apps/client/src/app/components/admin-users/admin-users.component.tsindex 2c9d07d743..84b82d1118 100644--- a/apps/client/src/app/components/admin-users/admin-users.component.ts+++ b/apps/client/src/app/components/admin-users/admin-users.component.ts@@ -101,7 +101,6 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit {if (this.hasPermissionForSubscription) {this.displayedColumns = [- 'index','user','country','registration',@@ -114,7 +113,6 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit {];} else {this.displayedColumns = [- 'index','user','registration','accounts',diff --git a/apps/client/src/app/components/admin-users/admin-users.html b/apps/client/src/app/components/admin-users/admin-users.htmlindex 0db8574b56..7a6a6ae871 100644--- a/apps/client/src/app/components/admin-users/admin-users.html+++ b/apps/client/src/app/components/admin-users/admin-users.html@@ -3,23 +3,6 @@<div class="col"><div class="overflow-x-auto"><table class="gf-table" mat-table [dataSource]="dataSource">- <ng-container matColumnDef="index">- <th- *matHeaderCellDef- class="mat-mdc-header-cell px-1 py-2 text-right"- mat-header-cell- >- #- </th>- <td- *matCellDef="let element; let i = index"- class="mat-mdc-cell px-1 py-2 text-right"- mat-cell- >- {{ i + 1 }}- </td>- </ng-container>-<ng-container matColumnDef="user"><th*matHeaderCellDef