Fix conditional check for existing tags in tags.blade.php

This commit is contained in:
Andras Bacsai 2024-04-15 15:25:54 +02:00
parent 7717304549
commit 8fab15abd3

View File

@ -26,7 +26,7 @@ class="inline-block w-3 h-3 rounded cursor-pointer stroke-current hover:bg-red-5
</div>
<x-forms.button type="submit">Add</x-forms.button>
</form>
@if ($tags->count() > 0)
@if (count($tags) > 0)
<h3 class="pt-4">Exisiting Tags</h3>
<div>Click to add quickly</div>
<div class="flex gap-2 pt-4">