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

Fix for CANFAR specific menu items. #71

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

at88mph
Copy link
Member

@at88mph at88mph commented Jul 16, 2024

Menu item lookup is done by URI now for compatibility with the Registry entries.
State setting is always merged, so no need to get the old state to add to and set it.

@@ -75,12 +77,12 @@ class CanfarLoginModal extends React.Component {
placeholder="Password"/>
</div>
{errMsg}
<a href={this.state.modalURLs.passreset}
<a href={this.state.modalURLs[PASS_RESET_URI]}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is passreset still required in HEADER_URL_DEFAULTS, if it's no longer referenced in this location?

I have the same question for acctrequest, groups, and search.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, good catch. I've updated those to match the URIs.

SharonGoliath
SharonGoliath previously approved these changes Jul 16, 2024
@at88mph at88mph requested a review from SharonGoliath July 16, 2024 16:32
@at88mph at88mph merged commit c3df7b8 into opencadc:main Jul 16, 2024
1 of 2 checks 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.

2 participants