on master help sign in
Make spawn proxy warning for invite management work
commit098cfb5406066d1e247e81ea327050af2891d512 authorFang <git@fang.io> dateWed 24 Apr 2019, 16:44 (8 years ago) parent2435a3c
1 file changed+4−2
src/bridge/views/InvitesManage.js+4−2
src/bridge/views/InvitesManage.js+4−2
@@ -132,14 +132,14 @@ class InvitesManage extends React.Component {
132132 render() {
133133
134134 let spawnProxyWarning = null;
135− if (this.state.invitesWillWork === Just(false)) {
135+ if (this.state.invitesWillWork.value === false) {
136136 spawnProxyWarning = (
137137 <Warning>
138138 <h3 className={'mb-2'}>{'Warning'}</h3>
139139 {
140140 'Planets under this star will not be able to send invites ' +
141141 'until the invite contract ('
142− }<code>{this.props.contract.delegatedSending.address}</code>{
142+ }<code>{this.contracts.delegatedSending.address}</code>{
143143 ') is made spawn proxy for this star.'
144144 }
145145 </Warning>
@@ -157,6 +157,8 @@ class InvitesManage extends React.Component {
157157
158158 <p>{ 'manage invites here, for stars. can only give invites to child planets' }</p>
159159
160+ { spawnProxyWarning }
161+
160162 <PointInput
161163 prop-format='innerlabel'
162164 prop-size='lg'