From 7159702a1f9e9979832bc8c96e5dfe04501163f3 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Mon, 13 Mar 2023 21:50:30 +0100 Subject: [PATCH] lnbits paid articles added --- app/Http/Livewire/News/Form/NewsArticleForm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Http/Livewire/News/Form/NewsArticleForm.php b/app/Http/Livewire/News/Form/NewsArticleForm.php index 7ceaaf8f..75739c3c 100644 --- a/app/Http/Livewire/News/Form/NewsArticleForm.php +++ b/app/Http/Livewire/News/Form/NewsArticleForm.php @@ -74,6 +74,9 @@ class NewsArticleForm extends Component if (!$this->fromUrl) { $this->fromUrl = url()->previous(); } + if (!$this->libraryItem->value_to_be_paid) { + $this->libraryItem->value_to_be_paid = ''; + } } public function updatedImages($value)