Improve property name
This commit is contained in:
@@ -25,7 +25,7 @@ class CategoryEditForm extends Component
|
||||
}
|
||||
|
||||
#[Computed]
|
||||
public function shouldDisplayEmailMessage(): bool
|
||||
public function emailWillBeSendDueToEula(): bool
|
||||
{
|
||||
return $this->eulaText || $this->useDefaultEula;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user