mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 17:58:07 +00:00
fix label count condition
This commit is contained in:
parent
04fe7f84be
commit
402f14b9c1
@ -143,7 +143,7 @@ export const RelationInputDataManger = ({
|
||||
label={`${formatMessage({
|
||||
id: intlLabel.id,
|
||||
defaultMessage: intlLabel.defaultMessage,
|
||||
})} ${initialData[name]?.count ? `(${initialData[name].count})` : ''}`}
|
||||
})} ${initialData[name]?.count !== undefined ? `(${initialData[name].count})` : ''}`}
|
||||
labelAction={labelAction}
|
||||
labelLoadMore={
|
||||
// TODO: only display if there are more; derive from count
|
||||
|
Loading…
x
Reference in New Issue
Block a user