Skip to content
This repository was archived by the owner on Dec 25, 2021. It is now read-only.

Commit d365f0c

Browse files
authored
Merge pull request #29 from codegagan/master
fix AOT compilation issue
2 parents b436a25 + 1721c29 commit d365f0c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libs/datatable/src/components/pagination/pagination.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="d-flex justify-content-between align-items-center">
22
<div class="pagination-range">
33
<span [textContent]="dataTable.labels.paginationText
4-
.replace('{from}', this.Math.ceil(dataTable.itemCount / dataTable.limit) !== 0 ? dataTable.offset + 1 : '0')
5-
.replace('{to}', this.Math.min(dataTable.offset + dataTable.limit, dataTable.itemCount))
6-
.replace('{total}', dataTable.itemCount)"></span>
4+
.replace('{from}', this.Math.ceil(dataTable.itemCount / dataTable.limit) !== 0 ? dataTable.offset + 1 + '' : '0')
5+
.replace('{to}', this.Math.min(dataTable.offset + dataTable.limit, dataTable.itemCount) + '')
6+
.replace('{total}', dataTable.itemCount + '')"></span>
77
</div>
88
<div class="pagination-controllers pagination-box d-flex justify-content-between">
99
<div class="pagination-limit d-flex justify-content-between">

0 commit comments

Comments
 (0)