[CE-643]Hide the pagination when agents is empty
Pagination is displayed only if the agent is not empty.
@@ -185,7 +185,7 @@ class Agent extends PureComponent {
size={'large'}
rowKey={'id'}
loading={loadingAgents}
- pagination={paginationProps}
+ pagination={agents.length > 0 ? paginationProps : false}
dataSource={agents}
renderItem={item => (
<List.Item
