Browse Source
Feature/add indicator for excluded accounts (#1450)
* Add indicator for excluded accounts
* Update changelog
pull/1454/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
26 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/accounts-table/accounts-table.component.html
-
apps/client/src/app/components/accounts-table/accounts-table.component.ts
|
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. |
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
- Added an indicator for excluded accounts in the accounts table |
|
|
|
|
|
|
|
## 1.212.0 - 11.11.2022 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
@ -1,4 +1,22 @@ |
|
|
|
<table class="gf-table w-100" mat-table [dataSource]="dataSource"> |
|
|
|
<ng-container matColumnDef="status"> |
|
|
|
<th |
|
|
|
*matHeaderCellDef |
|
|
|
class="d-none d-lg-table-cell px-1" |
|
|
|
mat-header-cell |
|
|
|
></th> |
|
|
|
<td *matCellDef="let element" class="d-none d-lg-table-cell px-1" mat-cell> |
|
|
|
<div class="d-flex justify-content-center"> |
|
|
|
<ion-icon *ngIf="element.isExcluded" name="eye-off-outline"></ion-icon> |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
<td |
|
|
|
*matFooterCellDef |
|
|
|
class="d-none d-lg-table-cell px-1" |
|
|
|
mat-footer-cell |
|
|
|
></td> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
<ng-container matColumnDef="account"> |
|
|
|
<th *matHeaderCellDef class="px-1" i18n mat-header-cell>Name</th> |
|
|
|
<td *matCellDef="let element" class="px-1" mat-cell> |
|
|
@ -15,7 +33,7 @@ |
|
|
|
>(Default)</span |
|
|
|
> |
|
|
|
</td> |
|
|
|
<td *matFooterCellDef class="px-1" mat-footer-cell i18n>Total</td> |
|
|
|
<td *matFooterCellDef class="px-1" i18n mat-footer-cell>Total</td> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
<ng-container matColumnDef="currency"> |
|
|
|
|
|
@ -46,6 +46,7 @@ export class AccountsTableComponent implements OnChanges, OnDestroy, OnInit { |
|
|
|
|
|
|
|
public ngOnChanges() { |
|
|
|
this.displayedColumns = [ |
|
|
|
'status', |
|
|
|
'account', |
|
|
|
'platform', |
|
|
|
'transactions', |
|
|
|