mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
RelationInputDataManager: Resolve todo and fix labelLoadMore prop-type
This commit is contained in:
parent
5b46793f36
commit
3f2c6fb440
@ -153,12 +153,12 @@ export const RelationInputDataManager = ({
|
||||
})} ${initialData[name]?.count !== undefined ? `(${initialData[name].count})` : ''}`}
|
||||
labelAction={labelAction}
|
||||
labelLoadMore={
|
||||
// TODO: only display if there are more; derive from count
|
||||
!isCreatingEntry &&
|
||||
formatMessage({
|
||||
!isCreatingEntry
|
||||
? formatMessage({
|
||||
id: getTrad('relation.loadMore'),
|
||||
defaultMessage: 'Load More',
|
||||
})
|
||||
: null
|
||||
}
|
||||
listHeight={320}
|
||||
loadingMessage={() =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user