Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Fix donation history in trace page #2538

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

mohammadranjbarz
Copy link
Collaborator

related to #2470

Before

donation history

After

Screen Shot 1400-06-22 at 10 24 33

@netlify
Copy link

netlify bot commented Sep 13, 2021

👷 Deploy Preview for giveth-dapp processing.

🔨 Explore the source changes: 3ea82fc

🔍 Inspect the deploy log: https://app.netlify.com/sites/giveth-dapp/deploys/613ee8f55b08f00008cf5719

@@ -61,7 +61,7 @@ class DonationHistory extends Component {
historyItem.parentIds,
historyItem,
);
if (parents.length > 0) {
if (!historyItem.homeTxHash && parents.length > 0) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If donation has homeTxHash we guess it is direct donation, so we should not check donation's parent

@aminlatifi aminlatifi merged commit 5ed5652 into develop Sep 13, 2021
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