File tree Expand file tree Collapse file tree
packages/eui/src/components/basic_table Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ export class EuiBasicTable<T extends object = any> extends Component<
635635 < EuiI18n token = "euiBasicTable.caption.tableName" default = "Data table" />
636636 ) ;
637637
638- let itemCountPart : React . ReactNode = '' ;
638+ let itemCountPart : React . ReactNode = null ;
639639 if ( ! itemCount ) {
640640 itemCountPart = this . props . noItemsMessage ;
641641 } else if ( totalItemCount > 0 ) {
@@ -648,7 +648,7 @@ export class EuiBasicTable<T extends object = any> extends Component<
648648 ) ;
649649 }
650650
651- let paginationPart : React . ReactNode = '' ;
651+ let paginationPart : React . ReactNode = null ;
652652 if ( pagination && pageCount > 1 ) {
653653 paginationPart = (
654654 < EuiI18n
@@ -664,11 +664,9 @@ export class EuiBasicTable<T extends object = any> extends Component<
664664 < caption css = { euiTableCaptionStyles } className = "euiTableCaption" >
665665 { tabularCopyMarkers . hiddenNoCopyBoundary }
666666 < EuiDelayRender >
667- < EuiI18n
668- token = "euiBasicTable.caption.aggregated"
669- default = "{tableName}; {itemCountPart}; {paginationPart}"
670- values = { { tableName, itemCountPart, paginationPart } }
671- />
667+ { tableName }
668+ { itemCountPart }
669+ { paginationPart }
672670 </ EuiDelayRender >
673671 { tabularCopyMarkers . hiddenNoCopyBoundary }
674672 </ caption >
You can’t perform that action at this time.
0 commit comments