Skip to content

Commit

Permalink
Fixed More is displayed when list is refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasBrazi06 committed Nov 7, 2021
1 parent 8671801 commit 36dadfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/table/table.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
</tbody>
</table>
<!-- More Records -->
<div *ngIf="!loading && dataSource.data.length > 0 && dataSource.totalNumberOfRecords !== dataSource.data.length"
<div *ngIf="!loading && dataSource.data.length > 0 && dataSource.totalNumberOfRecords > 0 && dataSource.totalNumberOfRecords > dataSource.data.length"
(click)="displayMoreRecords()" class="more-records">
<mat-icon>keyboard_arrow_down</mat-icon>
{{'general.more_records' | translate}}
Expand Down

0 comments on commit 36dadfa

Please sign in to comment.