diff --git a/resources/views/chats/chats_list.blade.php b/resources/views/chats/chats_list.blade.php index a86eb65..2808a64 100644 --- a/resources/views/chats/chats_list.blade.php +++ b/resources/views/chats/chats_list.blade.php @@ -44,13 +44,13 @@ @if ($chat->employer && $chat->employer->name_company) {{ $chat->employer->name_company }} - @else + @elseif($chat->user) {{ $chat->user->surname . ' ' . $chat->user->name_man . ' ' . $chat->user->surname2 }} @endif