Add "Unknown" status to the available component statuses
This commit is contained in:
@@ -107,7 +107,7 @@ final class ReportIncidentCommand
|
||||
'message' => 'required|string',
|
||||
'visible' => 'nullable|bool',
|
||||
'component_id' => 'nullable|required_with:component_status|int',
|
||||
'component_status' => 'nullable|required_with:component_id|int|min:1|max:4',
|
||||
'component_status' => 'nullable|required_with:component_id|int|min:0|max:4',
|
||||
'notify' => 'nullable|bool',
|
||||
'stickied' => 'required|bool',
|
||||
'incident_date' => 'nullable|string',
|
||||
|
||||
@@ -110,7 +110,7 @@ final class UpdateIncidentCommand
|
||||
'message' => 'nullable|string',
|
||||
'visible' => 'nullable|bool',
|
||||
'component_id' => 'nullable|int',
|
||||
'component_status' => 'nullable|int|min:1|max:4|required_with:component_id',
|
||||
'component_status' => 'nullable|int|min:0|max:4|required_with:component_id',
|
||||
'notify' => 'nullable|bool',
|
||||
'stickied' => 'nullable|bool',
|
||||
'template' => 'nullable|string',
|
||||
|
||||
Reference in New Issue
Block a user