admin: add STAGE_NOT_CANCELED filters to links from Home

This commit is contained in:
Aaron 2019-05-27 14:45:38 -05:00
parent 1ae16004e5
commit 0c2303aaa6
No known key found for this signature in database
GPG Key ID: 3B5B7597106F0A0E
1 changed files with 7 additions and 5 deletions

View File

@ -32,7 +32,7 @@ class Home extends React.Component {
<div>
<Icon type="exclamation-circle" /> There are <b>{proposalNoArbiterCount}</b>{' '}
live proposals <b>without an arbiter</b>.{' '}
<Link to="/proposals?filters[]=STATUS_LIVE&filters[]=ARBITER_MISSING">
<Link to="/proposals?filters[]=STATUS_LIVE&filters[]=ARBITER_MISSING&filters[]=STAGE_NOT_CANCELED">
Click here
</Link>{' '}
to view them.
@ -42,14 +42,16 @@ class Home extends React.Component {
<div>
<Icon type="exclamation-circle" /> There are{' '}
<b>{proposalMilestonePayoutsCount}</b> proposals <b>with approved payouts</b>.{' '}
<Link to="/proposals?filters[]=MILESTONE_ACCEPTED">Click here</Link> to view
them.
<Link to="/proposals?filters[]=MILESTONE_ACCEPTED&filters[]=STAGE_NOT_CANCELED">
Click here
</Link>{' '}
to view them.
</div>
),
!!contributionRefundableCount && (
<div>
<Icon type="exclamation-circle" /> There are <b>{contributionRefundableCount}</b>{' '}
contributions <b>ready to be refunded</b>.{' '}
<Icon type="exclamation-circle" /> There are{' '}
<b>{contributionRefundableCount}</b> contributions <b>ready to be refunded</b>.{' '}
<Link to="/contributions?filters[]=REFUNDABLE">Click here</Link> to view them.
</div>
),