fix: array row validation messages (#6781)

This commit is contained in:
Jarrod Flesch
2024-06-14 15:49:48 -04:00
committed by GitHub
parent 680ed1dec8
commit 0920c8a2f0

View File

@@ -302,7 +302,7 @@ export const _ArrayField: React.FC<ArrayFieldProps> = (props) => {
count: minRows,
label:
getTranslation(minRows > 1 ? labels.plural : labels.singular, i18n) ||
t(minRows > 1 ? 'general:row' : 'general:rows'),
t(minRows > 1 ? 'general:rows' : 'general:row'),
})}
</Banner>
)}