Merge pull request #9619 from strapi/features/i18n-fix-icon-alignment

Fix icon alignment in i18n settings
This commit is contained in:
cyril lopez 2021-03-08 10:27:40 +01:00 committed by GitHub
commit 815e92d441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ const LocaleSettingsPage = ({ locale, onDelete, onEdit }) => {
});
}
if (onDelete) {
if (onDelete && !locale.isDefault) {
links.push({
icon: !locale.isDefault ? (
<span aria-label={formatMessage({ id: getTrad('Settings.list.actions.delete') })}>