Admin: fix broken awaiting-approval nav logic
This commit is contained in:
parent
5860652ced
commit
7507553bfd
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class AdminNav extends React.PureComponent {
|
|||
<IconWithCounter icon='gavel' count={reportsCount} fixedWidth />
|
||||
<FormattedMessage id='admin_nav.reports' defaultMessage='Reports' />
|
||||
</a>
|
||||
{instance.get('approval_required') || approvalCount > 0 && (
|
||||
{(instance.get('approval_required') || approvalCount > 0) && (
|
||||
<NavLink className='promo-panel-item' to='/admin/approval'>
|
||||
<IconWithCounter icon='user' count={approvalCount} fixedWidth />
|
||||
<FormattedMessage id='admin_nav.awaiting_approval' defaultMessage='Awaiting Approval' />
|
||||
|
|
Loading…
Reference in a new issue