-
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
DTRA-1569 / Kate / Filter resetting issue #16359
DTRA-1569 / Kate / Filter resetting issue #16359
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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-kate-deriv-kate-dtra-1569fixfilterreset.binary.sx/ |
@@ -67,8 +67,14 @@ export default class ProfitTableStore extends BaseStore { | |||
if (!this.shouldFetchNextBatch(isMounting)) return; | |||
this.is_loading = true; | |||
const dateParams = getDateBoundaries(this.date_from, this.date_to, 0, false); | |||
const dateParamsDTraderV2 = getDateBoundaries( |
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.
When onMount is from profit-store is called, it reset date filters. In order not to lose them, now I'm taking them from positions store
…9/fix_filter_reset
Quality Gate passedIssues Measures |
c2d268a
into
deriv-com:position-and-contract-details-fixes
* Ahmad/DTRA-1408/Fix Vanilla Contract in Contract Details V2 (#16018) * fix: decimal point * fix: currency in payoutperpoint * fix: vanillas * fix: only vanilla * fix: test coverage * Ahmad/DTRA-1405/Multipliers fix on Contract Details V2 (#16017) * fix: multiplier * fix: testcase * fix: fix * fix: deal cancel * chore: add DC * chore: suggestion * chore:fix * fix: test case fix * Ahmad/DTRA-1401/DTRA-1402/Add currency in payout per point and decimal point in take profit (#16012) * fix: decimal point * fix: currency in payoutperpoint * fix: vanillas * fix: test case and comments * chore: review fix * fix: indent --------- Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com> * fix: bugs with resetting filter and icon for hight low (#16003) Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com> * Akmal / fix: pass currency across closed positions and contract details (#16161) * fix: pass currency across closed positions and contract details * fix: add a comment * [DTRA]/Ahmad/DTRA-1490/Deal Cancellation Status Fix Trader-V2 (#16121) * fix: cancellation active, executed and expired * chore: revert last commit * DTRA-1569 / Kate / Filter resetting issue (#16359) * fix: resetting filter issue * refactor: add date clear on unmount * refactor: tests * fix: tests * fix: console error * Akmal / fix: wrong duration unit for digit contracts (#16378) * fix: wrong duration unit for digit contracts * fix: test case * Akmal / fix: take profit & stop loss decimals (#16195) * fix: remove decimals from take profit * fix: apply fixes from quill library * fix: apply dynamic decimal places based on currency * feat: update quill-ui version --------- Co-authored-by: ahmadtaimoor-deriv <129935294+ahmadtaimoor-deriv@users.noreply.github.com> Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com>
Changes:
Fixed filter resetting value
Screenshots:
Please provide some screenshots of the change.