A free open source IT asset/license management system
Improve property name
Marcus Moore0f84d51a48e5
diff --git a/app/Livewire/CategoryEditForm.php b/app/Livewire/CategoryEditForm.phpindex 8bd3cf8033..6f5a42b9b2 100644--- a/app/Livewire/CategoryEditForm.php+++ b/app/Livewire/CategoryEditForm.php@@ -25,7 +25,7 @@ class CategoryEditForm extends Component}#[Computed]- public function shouldDisplayEmailMessage(): bool+ public function emailWillBeSendDueToEula(): bool{return $this->eulaText || $this->useDefaultEula;}diff --git a/resources/views/livewire/category-edit-form.blade.php b/resources/views/livewire/category-edit-form.blade.phpindex 952e9c3b57..4ceb6f6487 100644--- a/resources/views/livewire/category-edit-form.blade.php+++ b/resources/views/livewire/category-edit-form.blade.php@@ -93,7 +93,7 @@/>{{ trans('admin/categories/general.checkin_email') }}</label>- @if ($this->shouldDisplayEmailMessage)+ @if ($this->emailWillBeSendDueToEula)<div class="callout callout-info"><i class="far fa-envelope"></i><span>{{ $this->emailMessage }}</span>