Browse Source
Feature/simplify user table of admin control panel (#5263)
* Remove index column
* Update changelog
pull/5291/head
Thomas Kaul
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
1 additions and
19 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/admin-users/admin-users.component.ts
-
apps/client/src/app/components/admin-users/admin-users.html
|
@ -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 _Top 3_ and _Bottom 3_ performers on the analysis page by removing items without performance |
|
|
- Improved the usability of the toggle component |
|
|
- 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_) |
|
|
- Restructured the response of the portfolio report endpoint (_X-ray_) |
|
|
- Refreshed the cryptocurrencies list |
|
|
- Refreshed the cryptocurrencies list |
|
|
- Improved the language localization for Catalan (`ca`) |
|
|
- Improved the language localization for Catalan (`ca`) |
|
|
|
@ -101,7 +101,6 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { |
|
|
|
|
|
|
|
|
if (this.hasPermissionForSubscription) { |
|
|
if (this.hasPermissionForSubscription) { |
|
|
this.displayedColumns = [ |
|
|
this.displayedColumns = [ |
|
|
'index', |
|
|
|
|
|
'user', |
|
|
'user', |
|
|
'country', |
|
|
'country', |
|
|
'registration', |
|
|
'registration', |
|
@ -114,7 +113,6 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { |
|
|
]; |
|
|
]; |
|
|
} else { |
|
|
} else { |
|
|
this.displayedColumns = [ |
|
|
this.displayedColumns = [ |
|
|
'index', |
|
|
|
|
|
'user', |
|
|
'user', |
|
|
'registration', |
|
|
'registration', |
|
|
'accounts', |
|
|
'accounts', |
|
|
|
@ -3,23 +3,6 @@ |
|
|
<div class="col"> |
|
|
<div class="col"> |
|
|
<div class="overflow-x-auto"> |
|
|
<div class="overflow-x-auto"> |
|
|
<table class="gf-table" mat-table [dataSource]="dataSource"> |
|
|
<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"> |
|
|
<ng-container matColumnDef="user"> |
|
|
<th |
|
|
<th |
|
|
*matHeaderCellDef |
|
|
*matHeaderCellDef |
|
|