@if($row->image_url)
@if(setting_item('property_thumb_open_gallery') and request()->routeIs('property.search'))
@php $modalId = 'modal_gallery_'.$row->id @endphp
@if(!empty($gallery = $row->getGallery()))
@foreach ($gallery as $key => $item)

@endforeach
@endif
@else
@endif
@else
{{$row->vendor->getDisplayNameAttribute()[0]}}
@endif