diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js index baa1b96a..cede23f5 100644 --- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js +++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js @@ -432,7 +432,7 @@ class PackageIndexNEIBannerConcent extends Component { deadline_at:deadline_at._i, min_price:parseInt(min_price), max_price:parseInt(max_price), - contact_name: contact_name===null?this.props.current_user.username:contact_name, + contact_name: contact_name===null||contact_name===undefined?this.props.current_user.username:contact_name, contact_phone: contact_phone===undefined?this.props.current_user.phone:contact_phone, code:code, publish:types @@ -480,7 +480,7 @@ class PackageIndexNEIBannerConcent extends Component { deadline_at:deadline_at._i, min_price:parseInt(min_price), max_price:parseInt(max_price), - contact_name: contact_name===null?this.props.current_user.username:contact_name, + contact_name: contact_name===null||contact_name===undefined?this.props.current_user.username:contact_name, contact_phone: contact_phone===undefined?this.props.current_user.phone:contact_phone, code:code, publish:types @@ -828,7 +828,7 @@ class PackageIndexNEIBannerConcent extends Component { this.onChangeContact_name(e)} /> @@ -885,7 +885,7 @@ class PackageIndexNEIBannerConcent extends Component { {/**/} - + this.modalCancel()}>X

:""}