Fix schedules with no names being uneditable

This commit is contained in:
Dane Everitt 2018-02-24 12:04:14 -06:00
parent c6a91e2764
commit 807521b97c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 5 additions and 2 deletions

View file

@ -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',