IO-864 Change payment radio buttons.

This commit is contained in:
Patrick Fic
2021-04-09 15:30:40 -07:00
parent 1b8ce8d8e8
commit e93bcd14ef
2 changed files with 8 additions and 3 deletions

View File

@@ -95,7 +95,12 @@ export function EmailOverlayContainer({
setRawHtml(response.data);
form.setFieldsValue({
...emailConfig.messageOptions,
cc:
emailConfig.messageOptions.cc &&
emailConfig.messageOptions.cc.filter((x) => x),
to:
emailConfig.messageOptions.to &&
emailConfig.messageOptions.to.filter((x) => x),
html: response.data,
fileList: [],
});

View File

@@ -143,8 +143,8 @@ export function PaymentFormComponent({
initialValue="email"
>
<Radio.Group disabled={disabled}>
<Radio.Button value="email">{t("general.labels.email")}</Radio.Button>
<Radio.Button value="print">{t("general.labels.print")}</Radio.Button>
<Radio value="email">{t("general.labels.email")}</Radio>
<Radio value="print">{t("general.labels.print")}</Radio>
</Radio.Group>
</Form.Item>