Stopped "Show more" button showing when no more tests to load in

This commit is contained in:
Henry Whitaker
2020-05-18 18:57:42 +01:00
parent f5e3947bfd
commit a0cc7073cd

View File

@@ -111,7 +111,7 @@ export default class TestsTable extends Component {
</Table>
</Col>
</Row>
{page <= lastPage &&
{page < lastPage &&
<Row>
<Col sm={{ span: 12 }} className="text-center">
<Button variant="primary" onClick={this.getMoreData}>Show more</Button>