Fix webhook details (#3334)
This commit is contained in:
parent
5b945162a7
commit
05ea511937
4 changed files with 14 additions and 9 deletions
|
@ -5171,6 +5171,10 @@
|
||||||
"ZIc5lM": {
|
"ZIc5lM": {
|
||||||
"string": "Product Name"
|
"string": "Product Name"
|
||||||
},
|
},
|
||||||
|
"ZJPYFl": {
|
||||||
|
"context": "accepted header names",
|
||||||
|
"string": "Headers with in following format are accepted: <code>authorization*</code>, <code>x-*</code>"
|
||||||
|
},
|
||||||
"ZKuzRy": {
|
"ZKuzRy": {
|
||||||
"context": "order history message",
|
"context": "order history message",
|
||||||
"string": "Transaction void requested"
|
"string": "Transaction void requested"
|
||||||
|
@ -8148,10 +8152,6 @@
|
||||||
"context": "see error log label in notification",
|
"context": "see error log label in notification",
|
||||||
"string": "See error log"
|
"string": "See error log"
|
||||||
},
|
},
|
||||||
"wChjN/": {
|
|
||||||
"context": "accepted header names",
|
|
||||||
"string": "Headers with in following format are accepted: `authorization*`, `x-*`"
|
|
||||||
},
|
|
||||||
"wDUBLR": {
|
"wDUBLR": {
|
||||||
"context": "order refund amount",
|
"context": "order refund amount",
|
||||||
"string": "Proposed refund amount"
|
"string": "Proposed refund amount"
|
||||||
|
|
|
@ -106,7 +106,12 @@ const WebhookHeaders: React.FC<WebhookHeadersProps> = ({
|
||||||
<>
|
<>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Typography variant="body2">
|
<Typography variant="body2">
|
||||||
<FormattedMessage {...messages.acceptedFormat} />
|
<FormattedMessage
|
||||||
|
{...messages.acceptedFormat}
|
||||||
|
values={{
|
||||||
|
code: (...chunks) => <code>${chunks}</code>,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</Typography>
|
</Typography>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@ export const messages = defineMessages({
|
||||||
description: "empty headers text",
|
description: "empty headers text",
|
||||||
},
|
},
|
||||||
acceptedFormat: {
|
acceptedFormat: {
|
||||||
id: "wChjN/",
|
id: "ZJPYFl",
|
||||||
defaultMessage:
|
defaultMessage:
|
||||||
"Headers with in following format are accepted: `authorization*`, `x-*`",
|
"Headers with in following format are accepted: <code>authorization*</code>, <code>x-*</code>",
|
||||||
description: "accepted header names",
|
description: "accepted header names",
|
||||||
},
|
},
|
||||||
headerName: {
|
headerName: {
|
||||||
|
|
|
@ -14,7 +14,7 @@ const useStyles = makeStyles(
|
||||||
return {
|
return {
|
||||||
tableCell: {
|
tableCell: {
|
||||||
paddingTop: theme.spacing(3),
|
paddingTop: theme.spacing(3),
|
||||||
paddingLeft: theme.spacing(1),
|
paddingLeft: "3.2rem !important",
|
||||||
paddingRight: theme.spacing(1),
|
paddingRight: theme.spacing(1),
|
||||||
|
|
||||||
"& .MuiFormHelperText-root": {
|
"& .MuiFormHelperText-root": {
|
||||||
|
@ -29,7 +29,7 @@ const useStyles = makeStyles(
|
||||||
colAction: {
|
colAction: {
|
||||||
"&:last-child": {
|
"&:last-child": {
|
||||||
...colAction,
|
...colAction,
|
||||||
paddingRight: theme.spacing(3),
|
paddingRight: "3.2rem",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
colActionHeader: {
|
colActionHeader: {
|
||||||
|
|
Loading…
Reference in a new issue