Browse Source

fix(lib): revert changes to dataSource in the template

pull/6306/head
Kenrick Tandrian 2 months ago
parent
commit
db80e8b422
  1. 4
      libs/ui/src/lib/holdings-table/holdings-table.component.html

4
libs/ui/src/lib/holdings-table/holdings-table.component.html

@ -5,7 +5,7 @@
matSort matSort
matSortActive="allocationInPercentage" matSortActive="allocationInPercentage"
matSortDirection="desc" matSortDirection="desc"
[dataSource]="dataSource()" [dataSource]="dataSource"
> >
<ng-container matColumnDef="icon" sticky> <ng-container matColumnDef="icon" sticky>
<th *matHeaderCellDef class="px-1" mat-header-cell></th> <th *matHeaderCellDef class="px-1" mat-header-cell></th>
@ -210,7 +210,7 @@
/> />
} }
@if (dataSource().data.length > pageSize && !isLoading) { @if (dataSource.data.length > pageSize && !isLoading) {
<div class="my-3 text-center"> <div class="my-3 text-center">
<button mat-stroked-button (click)="onShowAllHoldings()"> <button mat-stroked-button (click)="onShowAllHoldings()">
<ng-container i18n>Show all</ng-container> <ng-container i18n>Show all</ng-container>

Loading…
Cancel
Save