@foreach (['fileAction', 'followerAction', 'filtersAction'] as $action)
@if ($this->{$action}->isVisible())
{{ $this->{$action} }}
@endif
@endforeach
@if ($this->tab === 'messages')
@if ($this->hasFilters())
{{ count($this->getActiveFilters()) }} active
@endif
@if ($this->hasFilters())
@foreach($this->getActiveFilters() as $filter)
@endforeach
{{ $this->getFilteredCount() }} of {{ $this->getTotalCount() }}
@endif
@endif
@php $hasActivities = $this->record->activities && $this->record->activities->isNotEmpty(); @endphp
@if ($hasActivities)
{{ $this->activityInfolist }}
@endif
{{ $this->chatInfolist }}