Never disable email checkbox

This commit is contained in:
Marcus Moore
2025-10-29 12:27:12 -07:00
parent 6dbb836a01
commit 23838959ca
2 changed files with 0 additions and 9 deletions

View File

@@ -61,9 +61,4 @@ class CategoryEditForm extends Component
{
return (bool)$this->useDefaultEula;
}
public function getSendCheckInEmailDisabledProperty()
{
return $this->eulaText || $this->useDefaultEula;
}
}

View File

@@ -90,7 +90,6 @@
value="1"
wire:model.live="sendCheckInEmail"
aria-label="checkin_email"
@disabled($this->sendCheckInEmailDisabled)
/>
{{ trans('admin/categories/general.checkin_email') }}
</label>
@@ -100,9 +99,6 @@
<span>{{ $this->emailMessage }}</span>
</div>
@endif
@if ($this->sendCheckInEmailDisabled)
<input type="hidden" name="checkin_email" wire:model.live="sendCheckInEmail" />
@endif
</div>
</div>
</div>