problems: don't show empty rows

This commit is contained in:
Alexander Zobnin
2018-12-27 14:37:46 +03:00
parent f5dc4fd1c1
commit 837e98861c

View File

@@ -106,7 +106,9 @@ export class ProblemList extends PureComponent<ProblemListProps, ProblemListStat
data={this.props.problems} data={this.props.problems}
columns={columns} columns={columns}
defaultPageSize={10} defaultPageSize={10}
minRows={0}
loading={this.props.loading} loading={this.props.loading}
noDataText="No problems found"
SubComponent={props => SubComponent={props =>
<ProblemDetails {...props} <ProblemDetails {...props}
rootWidth={this.rootWidth} rootWidth={this.rootWidth}