fix(admin-ui): Allow nullish values in update variant (#5173)
* fix(admin-ui): Allow nullish values in update variant * Create moody-poems-carry.md
This commit is contained in:
1 parent
123b3787d5
commit
adb6fb3f7d
2 files changed
+7
-3
No files matched your search
@@ -74,9 +74,7 @@ const useEditProductActions = (productId: string) => {
|
||||
updateVariant.mutate(
|
||||
{
|
||||
variant_id: id,
|
||||
...removeFalsy(payload),
|
||||
manage_inventory: payload.manage_inventory,
|
||||
allow_backorder: payload.allow_backorder,
|
||||
...payload,
|
||||
},
|
||||
{
|
||||
onSuccess: () => {
|
||||
|
||||
Reference in new issue
Block a user