mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Check date for real.
This commit is contained in:
parent
bca405ec07
commit
d47050a92d
@ -217,7 +217,7 @@ class BikeForm extends React.Component {
|
||||
/>
|
||||
</div>
|
||||
<div className="mdl-cell mdl-cell--2-col">
|
||||
<FlatButton label="Check" onTouchTap={this.handleCpicCheck} disabled={!!cpic_searched_at} primary />
|
||||
<FlatButton label="Check" onTouchTap={this.handleCpicCheck} disabled={moment(cpic_searched_at).isValid()} primary />
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user