Skip to content

Commit

Permalink
Merge pull request #41 from copios-jp/master
Browse files Browse the repository at this point in the history
fix(edit): include height in edit form
  • Loading branch information
copios committed Jan 31, 2019
2 parents 926ec60 + 001d4fa commit 295ce5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/renderer/components/sensor/edit/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { withStyles } from '@material-ui/core/styles'
import styles from '../../../styles/'

class Form extends Component {
fields = ({ age, weight, name, method, sex, max }) => {
fields = ({ age, weight, height, name, method, sex, max }) => {
return (
<Grid item xs>
{this.textField('name', '様', '名前', name)}
Expand All @@ -20,6 +20,7 @@ class Form extends Component {
})}
{this.textField('age', '才', '年齢', age)}
{this.textField('weight', 'Kg', '体重', weight)}
{this.textField('height', 'cm', '身長', height)}
{this.textField('method', '', '最大心拍数計算式', method, {
select: true,
children: this.optionsFor(methods),
Expand Down

0 comments on commit 295ce5a

Please sign in to comment.