Fix schedules with no names being uneditable
This commit is contained in:
parent
c6a91e2764
commit
807521b97c
3 changed files with 5 additions and 2 deletions
|
@ -33,7 +33,7 @@ class ScheduleCreationFormRequest extends ServerFormRequest
|
|||
public function rules()
|
||||
{
|
||||
return [
|
||||
'name' => 'string|max:255',
|
||||
'name' => 'nullable|string|max:255',
|
||||
'cron_day_of_week' => 'required|string',
|
||||
'cron_day_of_month' => 'required|string',
|
||||
'cron_hour' => 'required|string',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue