diff --git a/app/Livewire/CategoryEditForm.php b/app/Livewire/CategoryEditForm.php index 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.php index 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') }} - @if ($this->shouldDisplayEmailMessage) + @if ($this->emailWillBeSendDueToEula)