Add "Unknown" status to the available component statuses

This commit is contained in:
Nicolas Fagotti
2016-10-21 20:00:18 -03:00
parent 196eba7129
commit b223da94a0
8 changed files with 9 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ final class UpdateComponentCommand
public $rules = [
'name' => 'nullable|string',
'description' => 'nullable|string',
'status' => 'nullable|int|min:1|max:4',
'status' => 'nullable|int|min:0|max:4',
'link' => 'nullable|url',
'order' => 'nullable|int',
'group_id' => 'nullable|int',