auth()->check()

This commit is contained in:
Benjamin Takats
2023-01-22 13:12:13 +01:00
parent 79abdea03b
commit ab56e47c5b

View File

@@ -79,7 +79,9 @@
</figcaption> </figcaption>
</figure> </figure>
<div class="hidden md:block my-4"> <div class="hidden md:block my-4">
<livewire:comments :model="$libraryItem" newest-first/> @if(auth()->check())
<livewire:comments :model="$libraryItem" newest-first/>
@endif
</div> </div>
</div> </div>
</div> </div>
@@ -141,7 +143,7 @@
@if($libraryItem->type === 'youtube_video') @if($libraryItem->type === 'youtube_video')
<div class="my-12"> <div class="my-12">
<x-embed :url="$libraryItem->value" /> <x-embed :url="$libraryItem->value"/>
</div> </div>
@endif @endif