fix(dashboard): rma shipping floats (#8892)
This commit is contained in:
1 parent
e360a495b7
commit
48d4a97ad2
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -788,7 +788,7 @@ export const ClaimCreateForm = ({
|
|||||||
const customPrice =
|
const customPrice =
|
||||||
customShippingAmount === ""
|
customShippingAmount === ""
|
||||||
? null
|
? null
|
||||||
: parseInt(customShippingAmount)
|
: parseFloat(customShippingAmount)
|
||||||
|
|
||||||
if (actionId) {
|
if (actionId) {
|
||||||
updateInboundShipping(
|
updateInboundShipping(
|
||||||
|
|||||||
+1
-1
@@ -319,7 +319,7 @@ export const ExchangeCreateForm = ({
|
|||||||
const customPrice =
|
const customPrice =
|
||||||
customShippingAmount === ""
|
customShippingAmount === ""
|
||||||
? null
|
? null
|
||||||
: parseInt(customShippingAmount)
|
: parseFloat(customShippingAmount)
|
||||||
|
|
||||||
if (actionId) {
|
if (actionId) {
|
||||||
updateInboundShipping(
|
updateInboundShipping(
|
||||||
|
|||||||
+1
-1
@@ -660,7 +660,7 @@ export const ReturnCreateForm = ({
|
|||||||
}
|
}
|
||||||
code={order.currency_code}
|
code={order.currency_code}
|
||||||
onValueChange={(value) =>
|
onValueChange={(value) =>
|
||||||
setCustomShippingAmount(value ? parseInt(value) : "")
|
setCustomShippingAmount(value ? parseFloat(value) : "")
|
||||||
}
|
}
|
||||||
value={customShippingAmount}
|
value={customShippingAmount}
|
||||||
disabled={showPlaceholder}
|
disabled={showPlaceholder}
|
||||||
|
|||||||
Reference in new issue
Block a user