Changed default value for time to 'Unknown'.

This commit is contained in:
wildscotsmen 2018-10-18 16:10:31 -04:00
parent 85ad71d964
commit 22608cff37
1 changed files with 6 additions and 6 deletions

View File

@ -145,6 +145,10 @@ const monthTypes = [
* what is stored in the database.
*/
const timeTypes = [
{
value: 'unknown',
label: 'Unknown',
},
{
value: 'morning',
label: 'Morning',
@ -161,10 +165,6 @@ const timeTypes = [
value: 'night',
label: 'Night',
},
{
value: 'unknown',
label: 'Unknown',
},
];
/**
@ -215,7 +215,7 @@ class ReportForm extends React.Component {
state = {
month: '01',
year: getYear(new Date()),
time: 'morning',
time: 'unknown',
type: 'visual',
confidence: '1',
desc: '',
@ -269,7 +269,7 @@ class ReportForm extends React.Component {
this.setState({
year: getYear(new Date()),
month: '01',
time: 'morning',
time: 'unknown',
type: 'visual',
confidence: '1',
desc: '',