mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 12:26:19 +02:00
int to float
This commit is contained in:
@@ -946,7 +946,7 @@
|
|||||||
sendZoneFormData: function () {
|
sendZoneFormData: function () {
|
||||||
var data = {
|
var data = {
|
||||||
countries: String(this.zoneDialog.data.countries),
|
countries: String(this.zoneDialog.data.countries),
|
||||||
cost: parseInt(this.zoneDialog.data.cost)
|
cost: parseFloat(this.zoneDialog.data.cost)
|
||||||
}
|
}
|
||||||
if (this.zoneDialog.data.id) {
|
if (this.zoneDialog.data.id) {
|
||||||
data.id = this.zoneDialog.data.id
|
data.id = this.zoneDialog.data.id
|
||||||
|
Reference in New Issue
Block a user