@if (!empty($multiple)) @php $oldFiles = []; if (!empty($image)) { $decoded = json_decode($image, true); if (json_last_error() === JSON_ERROR_NONE && is_array($decoded)) { $oldFiles = array_values(array_filter($decoded)); } else { $oldFiles = [(string) $image]; } } @endphp
@if (!empty($oldFiles)) @endif
@else @endif {{ __('upload.recommend') }} {{ $recommend ?? '' }}