Merge branch '6ea86b96-positive-claim-fee-only'

This commit is contained in:
Jeremy Kauffman 2017-06-08 19:26:00 -04:00
commit 7ea2999bc4

View file

@ -373,7 +373,7 @@ class PublishPage extends React.Component {
lbry lbry
.channel_new({ .channel_new({
channel_name: newChannelName, channel_name: newChannelName,
amount: parseInt(this.state.newChannelBid), amount: parseFloat(this.state.newChannelBid),
}) })
.then( .then(
() => { () => {
@ -594,6 +594,7 @@ class PublishPage extends React.Component {
className="form-field__input--inline" className="form-field__input--inline"
step="0.01" step="0.01"
placeholder="1.00" placeholder="1.00"
min="0.01"
onChange={event => this.handleFeeAmountChange(event)} onChange={event => this.handleFeeAmountChange(event)}
/> />
{" "} {" "}
@ -752,6 +753,7 @@ class PublishPage extends React.Component {
label={__("Deposit")} label={__("Deposit")}
postfix="LBC" postfix="LBC"
step="0.01" step="0.01"
min="0"
type="number" type="number"
helper={lbcInputHelp} helper={lbcInputHelp}
onChange={event => { onChange={event => {