Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

#1033 Mark Withdrawn Cards #1053

Merged
merged 4 commits into from
Oct 15, 2018
Merged

#1033 Mark Withdrawn Cards #1053

merged 4 commits into from
Oct 15, 2018

Conversation

ippudo
Copy link
Contributor

@ippudo ippudo commented Oct 10, 2018

#1033 and it's part of followup from #496

image

@@ -92,6 +105,8 @@ export default class EventCard extends Component {
<div className={cx(classes.eventCardSection, 'top')}>
{isPending && <EventWarning id="str.pendingConfirmation" message="Pending Confirmation" />}
{isUpcoming && <EventWarning id="str.upcoming" message="Upcoming" type={EventWarningType.ORANGE} />}
{this.withdrawnStatus === 1 && <EventWarning id="str.withdrawing" message="Withdrawning" type={EventWarningType.INFO} />}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not working when withdraw escrow
and i also think this withdrawing is the same as pending, but pending works fine for withdraw escrow.

const pendingTxs = filter(allTxs, { status: TransactionStatus.PENDING });
const successTxs = filter(allTxs, { status: TransactionStatus.SUCCESS });

if (allTxs.length === 0) return 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this useful?

@ippudo ippudo merged commit 510a924 into master Oct 15, 2018
@ippudo ippudo deleted the withdrawnMessage branch October 15, 2018 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants