@php $activeProfile = getActiveProfile(); $isOwnCall = $callable && $activeProfile && get_class($activeProfile) === get_class($callable) && $activeProfile->id === $callable->id; @endphp @if ($isOwnCall) @livewire('calls.edit', ['call' => $call], key('edit-call-' . $call->id)) @elseif ($callable?->isRemoved()) {{ __('Respond') }} @else {{ __('Respond') }} @endif