mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Fix select all checked with filters
This commit is contained in:
parent
77675a455e
commit
dcf37549a1
@ -129,7 +129,7 @@ export const MediaLibrary = () => {
|
||||
id: getTrad('bulk.select.label'),
|
||||
defaultMessage: 'Select all assets',
|
||||
})}
|
||||
value={selected.length === assets?.length}
|
||||
value={assets?.length > 0 && selected.length === assets?.length}
|
||||
onChange={selectAllAssets}
|
||||
/>
|
||||
</BoxWithHeight>
|
||||
|
Loading…
x
Reference in New Issue
Block a user