mirror of
https://github.com/strapi/strapi.git
synced 2025-12-01 09:35:26 +00:00
fix: added missing defaultMessage
This commit is contained in:
parent
643ad2d97d
commit
99f8cffb9d
@ -22,7 +22,7 @@ const AllowedTypesSelect = ({ intlLabel, name, onChange, value }) => {
|
||||
/* eslint-disable indent */
|
||||
const displayedValue =
|
||||
value === null || value.length === 0
|
||||
? formatMessage({ id: 'global.none' })
|
||||
? formatMessage({ id: 'global.none', defaultMessage: 'None' })
|
||||
: [...value]
|
||||
.sort()
|
||||
.map(v => upperFirst(v))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user