Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent showing the TxStatusAsset component when creating a new Estate #523

Merged
merged 1 commit into from
Oct 6, 2018

Conversation

cazala
Copy link
Member

@cazala cazala commented Oct 6, 2018

Fixes #514

When there's any pending transaction that is neither from a parcel nor an estate (ie authorizing the marketplace) the payloadAssetId in this line is undefined, and so is the asset.id from an Estate the the user is creating (since it hasn't been created yet it doesn't have an id). So this condition end up being undefined === undefined triggering the warning message.

This PR fixes that.

Copy link
Contributor

@nachomazzara nachomazzara left a comment

Choose a reason for hiding this comment

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

Good catch!

@nachomazzara nachomazzara merged commit 93e3abd into master Oct 6, 2018
@nicosantangelo nicosantangelo deleted the fix/tx-status-asset-while-creating-new-estate branch October 30, 2018 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants