Skip to content

Commit

Permalink
Add subscriber count to the subscriber page heading
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Dec 18, 2018
1 parent 5f0e3ac commit 11f8e62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/my/src/Subscribers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }>
Expand Down

0 comments on commit 11f8e62

Please sign in to comment.