Skip to content

Commit

Permalink
fix(decorator-mui): localize addText
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-in-boots committed Nov 5, 2022
1 parent c813212 commit 50d667b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/decorator-mui/src/arrays/items.jsx
Expand Up @@ -54,7 +54,7 @@ function Items(props, ref) {
const icon = 'icon' in form ? form.icon : 'view_list';
const addText =
'addText' in form
? form.addText
? localizer.getLocalizedString(form.addText)
: title
? `${localizer.getLocalizedString('Add')} ${title}`
: localizer.getLocalizedString('Add');
Expand Down

0 comments on commit 50d667b

Please sign in to comment.