Skip to content

Commit

Permalink
Fix disabling storage selection logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyip committed Dec 1, 2024
1 parent ede64be commit ce1f94a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const usePricingMetaForGridPlans = ( {
const sitePlan = sitePlans.data?.[ planSlug ];
const selectedStorageOption = selectedStorageOptions?.[ planSlug ];
const selectedStorageAddOn =
selectedStorageOption && ! reflectStorageSelectionInPlanPrices
selectedStorageOption && reflectStorageSelectionInPlanPrices
? storageAddOns?.find( ( addOn ) => {
return addOn?.addOnSlug === selectedStorageOption;
} )
Expand Down

0 comments on commit ce1f94a

Please sign in to comment.