mirror of
https://github.com/strapi/strapi.git
synced 2025-12-03 18:42:47 +00:00
fix(dark-mode): fixed UnP email templates icons
This commit is contained in:
parent
173ebbb950
commit
bca5adcd3d
@ -5,6 +5,7 @@ import { Table, Thead, Tbody, Tr, Td, Th } from '@strapi/design-system/Table';
|
||||
import { VisuallyHidden } from '@strapi/design-system/VisuallyHidden';
|
||||
import { Typography } from '@strapi/design-system/Typography';
|
||||
import { IconButton } from '@strapi/design-system/IconButton';
|
||||
import { Icon } from '@strapi/design-system/Icon';
|
||||
import Pencil from '@strapi/icons/Pencil';
|
||||
import Reload from '@strapi/icons/Refresh';
|
||||
import { onRowClick, stopPropagation } from '@strapi/helper-plugin';
|
||||
@ -47,12 +48,14 @@ const EmailTable = ({ canUpdate, onEditClick }) => {
|
||||
<Tbody>
|
||||
<Tr {...onRowClick({ fn: () => onEditClick('reset_password') })}>
|
||||
<Td>
|
||||
<Reload
|
||||
aria-label={formatMessage({
|
||||
id: getTrad('Email.template.reset_password'),
|
||||
defaultMessage: 'Reset password',
|
||||
})}
|
||||
/>
|
||||
<Icon>
|
||||
<Reload
|
||||
aria-label={formatMessage({
|
||||
id: getTrad('Email.template.reset_password'),
|
||||
defaultMessage: 'Reset password',
|
||||
})}
|
||||
/>
|
||||
</Icon>
|
||||
</Td>
|
||||
<Td>
|
||||
<Typography>
|
||||
@ -76,12 +79,14 @@ const EmailTable = ({ canUpdate, onEditClick }) => {
|
||||
</Tr>
|
||||
<Tr {...onRowClick({ fn: () => onEditClick('email_confirmation') })}>
|
||||
<Td>
|
||||
<Check
|
||||
aria-label={formatMessage({
|
||||
id: getTrad('Email.template.email_confirmation'),
|
||||
defaultMessage: 'Email address confirmation',
|
||||
})}
|
||||
/>
|
||||
<Icon>
|
||||
<Check
|
||||
aria-label={formatMessage({
|
||||
id: getTrad('Email.template.email_confirmation'),
|
||||
defaultMessage: 'Email address confirmation',
|
||||
})}
|
||||
/>
|
||||
</Icon>
|
||||
</Td>
|
||||
<Td>
|
||||
<Typography>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user