1
0
mirror of https://github.com/fspc/workstand.git synced 2025-02-23 17:23:24 -05:00
This commit is contained in:
Drew Larson 2017-01-20 21:40:33 -06:00
parent 1d12c57ff6
commit 329980ccb1

View File

@ -1,6 +1,6 @@
import React, { PropTypes } from 'react'; import React, { PropTypes } from 'react';
import SelectField from 'material-ui/SelectField';
import MenuItem from 'material-ui/MenuItem'; import MenuItem from 'material-ui/MenuItem';
import SelectField from 'material-ui/SelectField';
const sources = ['COS_BIKE_DIVERSION_PILOT', 'UOFS', 'DROP_OFF']; const sources = ['COS_BIKE_DIVERSION_PILOT', 'UOFS', 'DROP_OFF'];
@ -14,7 +14,7 @@ export const friendly = (s) => {
return 'Drop Off'; return 'Drop Off';
default: default:
return undefined; return undefined;
}; }
}; };
const Source = ({ source }) => { const Source = ({ source }) => {
@ -28,7 +28,7 @@ const Source = ({ source }) => {
floatingLabelText="Source" floatingLabelText="Source"
value={source} value={source}
onChange={undefined} onChange={undefined}
autoWidth={true} autoWidth
> >
<MenuItem value={null} primaryText="" /> <MenuItem value={null} primaryText="" />
{items} {items}