Browse Source

fix: correct formatting in accounts table component

pull/5278/head
David Requeno 3 weeks ago
parent
commit
360f78cccf
  1. 17
      libs/ui/src/lib/accounts-table/accounts-table.component.html

17
libs/ui/src/lib/accounts-table/accounts-table.component.html

@ -1,13 +1,13 @@
@if (showActions) { @if (showActions) {
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
<button <button
class="align-items-center d-flex"
mat-stroked-button mat-stroked-button
class="align-items-center d-flex"
[disabled]="dataSource?.data.length < 2" [disabled]="dataSource?.data.length < 2"
(click)="onTransferBalance()" (click)="onTransferBalance()"
> >
<ion-icon class="mr-2" name="arrow-redo-outline" /> <ion-icon class="mr-2" name="arrow-redo-outline" />
<ng-container i18n>Transfer Cash Balance</ng-container>... <ng-container i18n>Transfer Cash Balance</ng-container>
</button> </button>
</div> </div>
} }
@ -39,7 +39,12 @@
</ng-container> </ng-container>
<ng-container matColumnDef="account"> <ng-container matColumnDef="account">
<th *matHeaderCellDef class="px-1" mat-header-cell mat-sort-header="name"> <th
*matHeaderCellDef
class="px-1"
mat-header-cell
mat-sort-header="name"
>
<ng-container i18n>Name</ng-container> <ng-container i18n>Name</ng-container>
</th> </th>
<td *matCellDef="let element" class="px-1" mat-cell> <td *matCellDef="let element" class="px-1" mat-cell>
@ -71,7 +76,11 @@
> >
{{ element.currency }} {{ element.currency }}
</td> </td>
<td *matFooterCellDef class="d-none d-lg-table-cell px-1" mat-footer-cell> <td
*matFooterCellDef
class="d-none d-lg-table-cell px-1"
mat-footer-cell
>
{{ baseCurrency }} {{ baseCurrency }}
</td> </td>
</ng-container> </ng-container>

Loading…
Cancel
Save