@shipengine/elements 0.32.1 → 0.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -14565,7 +14565,7 @@ const ShipmentForm = ({
|
|
|
14565
14565
|
},
|
|
14566
14566
|
reference: applyPresetRef.current
|
|
14567
14567
|
}, {
|
|
14568
|
-
children: shippingPresetOptions.map(presetCategory => jsxRuntime.jsx(giger.OptionGroup, Object.assign({
|
|
14568
|
+
children: shippingPresetOptions.filter(preset => preset.options.length > 0).map(presetCategory => jsxRuntime.jsx(giger.OptionGroup, Object.assign({
|
|
14569
14569
|
label: presetCategory.categoryName
|
|
14570
14570
|
}, {
|
|
14571
14571
|
children: presetCategory.options.map(preset => jsxRuntime.jsx(giger.Option, Object.assign({
|
package/index.js
CHANGED
|
@@ -14533,7 +14533,7 @@ const ShipmentForm = ({
|
|
|
14533
14533
|
},
|
|
14534
14534
|
reference: applyPresetRef.current
|
|
14535
14535
|
}, {
|
|
14536
|
-
children: shippingPresetOptions.map(presetCategory => jsx(OptionGroup, Object.assign({
|
|
14536
|
+
children: shippingPresetOptions.filter(preset => preset.options.length > 0).map(presetCategory => jsx(OptionGroup, Object.assign({
|
|
14537
14537
|
label: presetCategory.categoryName
|
|
14538
14538
|
}, {
|
|
14539
14539
|
children: presetCategory.options.map(preset => jsx(Option, Object.assign({
|