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

CB-4317 fix: require authentication to load connection origin details #2189

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

Wroud
Copy link
Member

@Wroud Wroud commented Dec 4, 2023

No description provided.

@Wroud Wroud self-assigned this Dec 4, 2023
const tab = useTab(tabId);
const translate = useTranslate();
// const userInfoService = useService(UserInfoResource);
const userInfoService = useService(UserInfoResource);
Copy link
Contributor

Choose a reason for hiding this comment

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

why is it useService instead of useResource?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed (actually here is both acceptable, but we can modify it to useResource to ensure that user is loaded and up to date in the component scope)

@serge-rider serge-rider merged commit bb3ee1d into devel Dec 6, 2023
3 checks passed
serge-rider pushed a commit that referenced this pull request Dec 6, 2023
…#2189)

* CB-4317 fix: require authentication to load connection origin details

* CB-4317 fix: ensure user loaded and up to date

---------

Co-authored-by: Daria Marutkina <[email protected]>
@serge-rider serge-rider deleted the CB-4317-origin-tab-npe branch December 22, 2023 08:36
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.

5 participants