mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +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
|
handleSuccess: React.PropTypes.func
|
||||||
},
|
},
|
||||||
|
|
||||||
getFormData(){
|
getInitialProps() {
|
||||||
|
return {
|
||||||
|
labels: {}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
|
getFormData() {
|
||||||
return this.props.id;
|
return this.props.id;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user