Add subscriber count to the subscriber page heading

This commit is contained in:
Kailash Nadh 2018-12-18 13:34:23 +05:30
parent 5f0e3acfb9
commit 11f8e62cf1
1 changed files with 2 additions and 1 deletions

View File

@ -596,9 +596,10 @@ class Subscribers extends React.PureComponent {
<Col span={ 20 }>
<h1>
Subscribers
{ this.props.data[cs.ModelSubscribers].total > 0 &&
<span> ({ this.props.data[cs.ModelSubscribers].total })</span> }
{ this.state.queryParams.list &&
<span> &raquo; { this.state.queryParams.list.name }</span> }
</h1>
</Col>
<Col span={ 2 }>