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 user access location in settings icon #2958

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

karelhala
Copy link
Contributor

Description

As a regular user when I click on settings icon I should be brought to my user access. However as an org admin user should be brought to user access.

This PR adjusts the title and link.

JIRA

RHCLOUD-33599

@karelhala
Copy link
Contributor Author

/retest

@@ -75,8 +75,10 @@ const Tools = () => {
const unreadNotifications = useAtomValue(unreadNotificationsAtom);
const [isNotificationDrawerExpanded, toggleNotifications] = useAtom(notificationDrawerExpandedAtom);
const intl = useIntl();
const auth = useContext(ChromeAuthContext);
Copy link
Contributor

Choose a reason for hiding this comment

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

This context is already called in the component.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, good point! Solved.

@karelhala karelhala merged commit 5a24dd1 into RedHatInsights:master Oct 23, 2024
11 of 13 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.

3 participants