lnbits paid articles added

This commit is contained in:
HolgerHatGarKeineNode
2023-03-14 11:50:21 +01:00
parent e8ecfbc4ca
commit ea9f45e510

View File

@@ -21,7 +21,7 @@
<i class="fa fa-thin fa-plus"></i>
{{ __('Submit news articles') }}
</x-button>
@if(auth()->check() && auth()->user()->lnbits['wallet_id'])
@if(auth()->check() && auth()->user()->lnbits['wallet_id'] ?? false)
<x-button
class="whitespace-nowrap"
:href="route('news.form', ['type' => 'paid'])"