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

Only show "Change Teams" options if multiple teams are available #1294

Merged
merged 2 commits into from
Apr 10, 2023

Conversation

briankiewel
Copy link
Contributor

Add logic to only display the "Switch Teams" options if the authenticated user belongs to more than 1 team. Previous to this change, if additional teams were not created and the user only had their personal team, the user was shown a nonfunctional option to "change" to the already active team.

@taylorotwell taylorotwell merged commit 4bedb12 into laravel:3.x Apr 10, 2023
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