Empty page suggestion limit remove..

This commit is contained in:
Cüneyt Şentürk 2022-11-01 15:37:56 +03:00
parent 0f69798601
commit d45dba970e

View File

@ -44,22 +44,24 @@
@endif @endif
@endforeach @endforeach
@if (! empty($suggestion)) @if (! empty($suggestions))
<li class="border-b p-2 hover:bg-gray-100"> @foreach ($suggestions as $suggestion)
<x-link href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs" override="class"> <li class="border-b p-2 hover:bg-gray-100">
<div class="truncate"> <x-link href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs" override="class">
<h2> <div class="truncate">
{{ $suggestion->name }} <h2>
</h2> {{ $suggestion->name }}
</h2>
<div class="h-4 overflow-hidden text-black-400 truncate"> <div class="h-4 overflow-hidden text-black-400 truncate">
{{ $suggestion->description ?? '' }} {{ $suggestion->description ?? '' }}
</div>
</div> </div>
</div>
<span class="material-icons text-gray-500">chevron_right</span> <span class="material-icons text-gray-500">chevron_right</span>
</x-link> </x-link>
</li> </li>
@endforeach
@endif @endif
</ul> </ul>
</div> </div>