From 0f84d51a48e517c7f68f66c8bddcbd2aeedb06c5 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 29 Oct 2025 12:37:17 -0700 Subject: [PATCH] Improve property name --- app/Livewire/CategoryEditForm.php | 2 +- resources/views/livewire/category-edit-form.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)
{{ $this->emailMessage }}