Merge pull request #787 from mirumee/fix-product-create-availiabity-set
Fix setting availability start date to null when none provided
This commit is contained in:
commit
560e6d4074
1 changed files with 1 additions and 1 deletions
|
@ -67,5 +67,5 @@ export const getProductAvailabilityVariables = ({
|
||||||
}: ProductAvailabilityArgs) => ({
|
}: ProductAvailabilityArgs) => ({
|
||||||
isAvailable: isAvailableForPurchase,
|
isAvailable: isAvailableForPurchase,
|
||||||
productId,
|
productId,
|
||||||
startDate: availableForPurchase
|
startDate: availableForPurchase || null
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue