lnbits paid articles added

This commit is contained in:
HolgerHatGarKeineNode
2023-03-14 13:06:22 +01:00
parent 14ee59bbd5
commit 1501a487cd
4 changed files with 16 additions and 17 deletions

View File

@@ -47,11 +47,6 @@
@foreach($libraryItems as $libraryItem)
@if($libraryItem->approved || $libraryItem->created_by === auth()->id() || auth()->user()?->hasRole('news-editor'))
@php
if($libraryItem->sats && !auth()->check()) {
continue;
}
@endphp
<div wire:key="library_item_{{ $libraryItem->id }}" wire:loading.class="opacity-25"
class="relative flex flex-col overflow-hidden rounded-lg border-2 border-[#F7931A]">
@if($libraryItem->sats)