-
Notifications
You must be signed in to change notification settings - Fork 303
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
Farzin/WEBREL-1103/Not displaying Recent Transactions
table on clicking view all
button
#9760
Conversation
…g `view all` button
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -139,6 +143,8 @@ const Withdrawal = observer(({ setSideNotes }: TWithdrawalProps) => { | |||
return <WithdrawalLocked />; | |||
} | |||
|
|||
if (is_crypto_transactions_visible) return <CryptoTransactionsHistory />; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lift up the is_crypto_transactions_visible
condition to have higher priority.
if (is_crypto_transactions_visible) { | ||
setSideNotes?.([]); | ||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clear the side notes when the <CryptoTransactionsHistory />
is visible.
if (!is_from_outside_cashier && is_crypto_transactions_visible) { | ||
return <CryptoTransactionsHistory />; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We never render the CryptoTransactionsHistory />
inside the <AccountTransfer />
page, hence removing it.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-farzin-deriv-farzin-webrel-1103notdis-825b5e.binary.sx/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Changes:
Please provide a summary of the change.
Screenshots:
Please provide some screenshots of the change.