Disable publish button if bid is too low

This commit is contained in:
6ea86b96 2017-07-12 13:36:08 +07:00
parent f1c45775ab
commit 103e4302d4

View file

@ -876,7 +876,10 @@ class PublishForm extends React.PureComponent {
disabled={
this.state.submitting ||
(this.state.uri &&
this.props.resolvingUris.indexOf(this.state.uri) !== -1)
this.props.resolvingUris.indexOf(this.state.uri) !== -1) ||
(this.claim() &&
!this.topClaimIsMine() &&
this.state.bid <= this.topClaimValue())
}
/>
<Link