#382 - hide percent sign for non-percentile rules

pull/409/head
Jade McGough 2016-11-07 15:37:42 -08:00
parent 6fc4db5a17
commit 440d3bb04f
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@ const Relative = React.createClass({
<Dropdown items={shifts} selected={shift} onChoose={this.handleDropdownChange} />
before is
<Dropdown items={operators} selected={operator} onChoose={this.handleDropdownChange} />
<input ref={(r) => this.input = r} defaultValue={value} onKeyUp={this.handleInputChange}></input>%
<input ref={(r) => this.input = r} defaultValue={value} onKeyUp={this.handleInputChange}></input>
{ change === CHANGES[1] ? '%' : '' }
</div>
);
},