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

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