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

[2.x] Remove redundant remove-member link #1135

Merged
merged 1 commit into from
Sep 12, 2022
Merged

Conversation

devnll
Copy link
Contributor

@devnll devnll commented Sep 10, 2022

In TeamMemberManager.vue, when the leave-team link is shown, the remove-member link is redundant as it does the same thing.

This commit makes them mutually exclusive, which they already are in the Livewire version: https://github.com/laravel/jetstream/blob/2.x/stubs/livewire/resources/views/teams/team-member-manager.blade.php#L157

In TeamMemberManager.vue, when the leave-team link is shown, the remove-member link is redundant as it does the same thing.

This commit makes them mutually exclusive, which they already are in the Livewire version:
https://github.com/laravel/jetstream/blob/2.x/stubs/livewire/resources/views/teams/team-member-manager.blade.php#L157
@taylorotwell taylorotwell merged commit 5749eec into laravel:2.x Sep 12, 2022
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