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,7 +44,8 @@
@endif @endif
@endforeach @endforeach
@if (! empty($suggestion)) @if (! empty($suggestions))
@foreach ($suggestions as $suggestion)
<li class="border-b p-2 hover:bg-gray-100"> <li class="border-b p-2 hover:bg-gray-100">
<x-link href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs" override="class"> <x-link href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs" override="class">
<div class="truncate"> <div class="truncate">
@ -60,6 +61,7 @@
<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>