Mark shipping zone description as optional (#942)
This commit is contained in:
parent
4a8ebd5b1f
commit
167b77e18a
4 changed files with 13 additions and 7 deletions
|
@ -2424,6 +2424,9 @@
|
|||
"src_dot_description": {
|
||||
"string": "Description"
|
||||
},
|
||||
"src_dot_descriptionOptional": {
|
||||
"string": "Description (optional)"
|
||||
},
|
||||
"src_dot_discounts": {
|
||||
"string": "Discounts"
|
||||
},
|
||||
|
|
|
@ -25,6 +25,9 @@ export const commonMessages = defineMessages({
|
|||
description: {
|
||||
defaultMessage: "Description"
|
||||
},
|
||||
descriptionOptional: {
|
||||
defaultMessage: "Description (optional)"
|
||||
},
|
||||
discounts: {
|
||||
defaultMessage: "Discounts"
|
||||
},
|
||||
|
|
|
@ -87,7 +87,7 @@ const ShippingZoneInfo: React.FC<ShippingZoneInfoProps> = ({
|
|||
label={
|
||||
<div className={classes.labelContainer}>
|
||||
<div className={classes.label}>
|
||||
<FormattedMessage {...commonMessages.description} />
|
||||
<FormattedMessage {...commonMessages.descriptionOptional} />
|
||||
</div>
|
||||
{data.description?.length > 0 && (
|
||||
<span>
|
||||
|
|
|
@ -202929,7 +202929,7 @@ exports[`Storyshots Views / Shipping / Create shipping zone default 1`] = `
|
|||
<div
|
||||
class="ShippingZoneCreatePage-label-id"
|
||||
>
|
||||
Description
|
||||
Description (optional)
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
@ -203165,7 +203165,7 @@ exports[`Storyshots Views / Shipping / Create shipping zone form errors 1`] = `
|
|||
<div
|
||||
class="ShippingZoneCreatePage-label-id"
|
||||
>
|
||||
Description
|
||||
Description (optional)
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
@ -203397,7 +203397,7 @@ exports[`Storyshots Views / Shipping / Create shipping zone loading 1`] = `
|
|||
<div
|
||||
class="ShippingZoneCreatePage-label-id"
|
||||
>
|
||||
Description
|
||||
Description (optional)
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
@ -210188,7 +210188,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details default 1`] = `
|
|||
<div
|
||||
class="ShippingZoneCreatePage-label-id"
|
||||
>
|
||||
Description
|
||||
Description (optional)
|
||||
</div>
|
||||
<span>
|
||||
25 of 300 characters
|
||||
|
@ -211158,7 +211158,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details form errors 1`] = `
|
|||
<div
|
||||
class="ShippingZoneCreatePage-label-id"
|
||||
>
|
||||
Description
|
||||
Description (optional)
|
||||
</div>
|
||||
<span>
|
||||
25 of 300 characters
|
||||
|
@ -212129,7 +212129,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details loading 1`] = `
|
|||
<div
|
||||
class="ShippingZoneCreatePage-label-id"
|
||||
>
|
||||
Description
|
||||
Description (optional)
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
|
Loading…
Reference in a new issue