We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff952de commit 782e9efCopy full SHA for 782e9ef
src/index.js
@@ -755,11 +755,13 @@ export default React.createClass({
755
{...paginationProps.rest}
756
/>
757
) : null}
758
- <NoDataComponent
759
- {...noDataProps}
760
- >
761
- {_.normalizeComponent(noDataText)}
762
- </NoDataComponent>
+ {!pageRows.length && (
+ <NoDataComponent
+ {...noDataProps}
+ >
+ {_.normalizeComponent(noDataText)}
763
+ </NoDataComponent>
764
+ )}
765
<LoadingComponent
766
loading={loading}
767
loadingText={loadingText}
0 commit comments