Skip to content

Commit

Permalink
Updating logic to not show if total is null or undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
monroepe committed Jan 30, 2025
1 parent d51cb32 commit 33e54bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const MAX_PAGES_DISPLAYED = 5;
[attr.data-feature-id]="dataFeatureId"
>
</novo-select>
<div *ngIf="showPaginationTotalRecordCount" class="novo-data-table-of-total-amount" data-automation-id="novo-data-table-of-total-amount">
<div *ngIf="showPaginationTotalRecordCount && (length !== undefined || length !== null)" class="novo-data-table-of-total-amount" data-automation-id="novo-data-table-of-total-amount">
{{ labels.ofXAmount(length) }}
</div>
<span class="spacer"></span>
Expand Down

0 comments on commit 33e54bd

Please sign in to comment.