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

Removes IE11 incompatible code from v1/EnrollChoicesController #3276

Merged

Conversation

shawyu-okta
Copy link
Contributor

@shawyu-okta shawyu-okta commented Jun 14, 2023

Description:

PR Checklist

Issue:

Reviewers:

Screenshot/Video:

Downstream Monolith Build:

@shawyu-okta shawyu-okta force-pushed the sy-enroll-choices-ie11-okta-599424 branch from 6ddd62c to d1bfd09 Compare June 14, 2023 16:30
return Number.isInteger(remainingDays) && remainingDays >= 0

// remainingDays is null if there is no grace period, 0 if we are still in grace period
return (remainingDays !== null && remainingDays >= 0)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

See https://github.com/okta/okta-signin-widget/pull/770/files#r308359100 -- we were using isInteger as a proxy for checking if remainingDays !== null. We can assume that if it's not null then it will be a number and then assume that its an integer.

@eng-services-aperture-github-bot-okta eng-services-aperture-github-bot-okta deleted the sy-enroll-choices-ie11-okta-599424 branch June 14, 2023 18:44
@denysoblohin-okta denysoblohin-okta mentioned this pull request Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants