Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/add indicator for excluded accounts (#1450)

Thomas Kaul4169de580b43
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74611acb14..85f515a722 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.html b/apps/client/src/app/components/accounts-table/accounts-table.component.html
index b38914d739..3be8520dd2 100644
--- a/apps/client/src/app/components/accounts-table/accounts-table.component.html
+++ b/apps/client/src/app/components/accounts-table/accounts-table.component.html
@@ -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">
diff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.ts b/apps/client/src/app/components/accounts-table/accounts-table.component.ts
index bd644d5822..5e2e4886be 100644
--- a/apps/client/src/app/components/accounts-table/accounts-table.component.ts
+++ b/apps/client/src/app/components/accounts-table/accounts-table.component.ts
@@ -46,6 +46,7 @@ export class AccountsTableComponent implements OnChanges, OnDestroy, OnInit {
public ngOnChanges() {
this.displayedColumns = [
+ 'status',
'account',
'platform',
'transactions',