@use('Namu\WireChat\Facades\WireChat')
@php /* Show header if any of these conditions are true */ $showHeader = $showNewChatModalButton || $allowChatsSearch || $showHomeRouteButton || !empty($title); @endphp {{-- include header --}} @includeWhen($showHeader, 'wirechat::livewire.chats.partials.header')
{{-- loading indicator --}} @if (count($conversations) > 0) {{-- include list item --}} @include('wirechat::livewire.chats.partials.list') {{-- include load more if true --}} @includeWhen($canLoadMore, 'wirechat::livewire.chats.partials.load-more-button') @else
{{ __('wirechat::chats.labels.no_conversations_yet') }}
@endif