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: Organisation ID is an object calling useHasPermission at organisation level #3950

Merged

Conversation

novakzaballa
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Send organisation ID instead of organisation object to useHasPermission in BreadcrumbSeparator.

How did you test this code?

Manually tested by runing the APP and navigating to the home page and feature page and observing that requests to the my-permissions endpoint are OK at organisation level.

Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 7:47pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 7:47pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 7:47pm

Copy link
Contributor

github-actions bot commented May 14, 2024

Uffizzi Preview deployment-51720 was deleted.

@novakzaballa novakzaballa requested a review from kyle-ssg May 14, 2024 19:51
@novakzaballa novakzaballa added this pull request to the merge queue May 15, 2024
Merged via the queue into main with commit 1372917 May 15, 2024
21 checks passed
@novakzaballa novakzaballa deleted the fix/organisation-id-is-an-object-on-getting-permissions branch May 15, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants