Skip to content

Commit cbb7396

Browse files
author
Saif Shaikh
committed
first changes
1 parent d48d363 commit cbb7396

1 file changed

Lines changed: 11 additions & 23 deletions

File tree

jsx/DataTable.js

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -590,15 +590,9 @@ class DataTable extends Component {
590590
order: '1',
591591
padding: '5px 0',
592592
}}>
593-
{this.props.t(
594-
'{{pageCount}} rows displayed of {{totalCount}}.',
595-
{
596-
pageCount: rows.length,
597-
totalCount: filteredCount,
598-
}
599-
)}
600-
{changeRowsDropdown}
601-
</div>
593+
{`${rows.length} rows displayed of ${filteredCount}. `}
594+
{changeRowsDropdown}
595+
</div>
602596
<div style={{
603597
order: '2',
604598
display: 'flex',
@@ -643,20 +637,14 @@ class DataTable extends Component {
643637
order: '1',
644638
padding: '5px 0',
645639
}}>
646-
{this.props.t(
647-
'{{pageCount}} rows displayed of {{totalCount}}.',
648-
{
649-
pageCount: rows.length,
650-
totalCount: filteredCount,
651-
}
652-
)}
653-
{changeRowsDropdown}
654-
</div>
655-
<div style={{
656-
order: '2',
657-
padding: '5px 0',
658-
marginLeft: 'auto',
659-
}}>
640+
{`${rows.length} rows displayed of ${filteredCount}. `}
641+
{changeRowsDropdown}
642+
</div>
643+
<div style={{
644+
order: '2',
645+
padding: '5px 0',
646+
marginLeft: 'auto',
647+
}}>
660648
<PaginationLinks
661649
Total={filteredCount}
662650
onChangePage={this.changePage}

0 commit comments

Comments
 (0)