mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Fix consign form when labels aren't give as props
This commit is contained in:
parent
c270977eb9
commit
0c02c033e5
@ -24,7 +24,13 @@ let ConsignForm = React.createClass({
|
||||
handleSuccess: React.PropTypes.func
|
||||
},
|
||||
|
||||
getFormData(){
|
||||
getInitialProps() {
|
||||
return {
|
||||
labels: {}
|
||||
};
|
||||
},
|
||||
|
||||
getFormData() {
|
||||
return this.props.id;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user