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

Fixes: #3723 - Fix refresh() unnecessary conditional check for page values #3724

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

thabaum
Copy link
Contributor

@thabaum thabaum commented Feb 1, 2024

Pull Request Description

Updates the if statement to not perform an unnecessary check for page values

Related Issue

Testing Done

Cancel button no longer throws an exception.

Additional Context

Maybe this page logic && Utilities.IsPageModuleVisible(page.EffectiveDate, page.ExpiryDate) was meant in another if statement of the parent if statement logic instead of the else statement which page is null?

if (page != null)

One other note is PR #3726 edits this same file. So it might be best to merge that first then we can redo this commit. Whatever works.

@thabaum thabaum changed the title Fixes: #3723 - Fix refresh() conditional check for page Fixes: #3723 - Fix refresh() unnecessary conditional check for page values Feb 1, 2024
@sbwalker sbwalker merged commit fd40c58 into oqtane:dev Feb 2, 2024
1 check passed
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.

BUG: The cancel action on the login component causes an error when clicked.
2 participants