{{-- @if ($team->users->isNotEmpty()) --}}
@if ($team->teamInvitations->isNotEmpty())
{{ __('Incoming Requests') }}
{{__('Manage incoming team requests')}}

@foreach ($team->teamInvitations as $invitation)
{{ __($invitation->email) }}
{{ Laravel\Jetstream\Jetstream::findRole($invitation->role)->name }}
@if (Gate::check('cancel_join_request', $team)) {{ __('Cancel') }} @endif
@endforeach
@else
{{ __('Incoming Requests') }}
{{__('Manage incoming team requests')}}
There are currently 0 incoming requests pending
@endif
{{-- @endif --}}