Fix invalid payload when premium textbox is reset. Mv pngs

This commit is contained in:
Reckless_Satoshi 2022-05-17 09:19:35 -07:00
parent 16da19815f
commit cc06874f4d
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
7 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class MakerPage extends Component {
max_amount: this.state.maxAmount,
payment_method: this.state.payment_method === ""? this.defaultPaymentMethod: this.state.payment_method,
is_explicit: this.state.is_explicit,
premium: this.state.is_explicit ? null: this.state.premium,
premium: this.state.is_explicit ? null: (this.state.premium==""? 0:this.state.premium),
satoshis: this.state.is_explicit ? this.state.satoshis: null,
public_duration: this.state.publicDuration,
escrow_duration: this.state.escrowDuration,

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 982 KiB

After

Width:  |  Height:  |  Size: 982 KiB

View File

Before

Width:  |  Height:  |  Size: 638 KiB

After

Width:  |  Height:  |  Size: 638 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 254 KiB

After

Width:  |  Height:  |  Size: 254 KiB