-
Notifications
You must be signed in to change notification settings - Fork 299
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-2153 / Kate / [DTrader-v2] Closed market fields #17254
base: master
Are you sure you want to change the base?
DTRA-2153 / Kate / [DTrader-v2] Closed market fields #17254
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-2153closedmarketsfields.binary.sx/ |
Pull Request Test Coverage Report for Build 11474695146Details
💛 - Coveralls |
@@ -168,7 +164,7 @@ const Duration = observer(({ is_minimized }: TDurationProps) => { | |||
label={<Localize i18n_default_text='Duration' key={`duration${is_minimized ? '-minimized' : ''}`} />} | |||
value={getInputValues()} | |||
noStatusIcon | |||
disabled={isMarketClosed(activeSymbols, symbol)} |
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.
@ahmadtaimoor-deriv please, help to review this change as you were working with duration component and I might breake something
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.
activeSymbols
from hook is basically something that will be set to the store, while is_market_closed
from trade store is based on active_symbols
from store directly (as I understand).
Please, @henry-deriv, correct me in case
Changes:
Screenshots: