mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
fixed no result for search
This commit is contained in:
parent
beca75eb5b
commit
1481647fa9
@ -102,7 +102,7 @@ export const AssetDialog = ({
|
||||
);
|
||||
}
|
||||
|
||||
if (canRead && assets?.length === 0) {
|
||||
if (canRead && assets?.length === 0 && !queryObject._q) {
|
||||
return (
|
||||
<ModalLayout onClose={onClose} labelledBy="asset-dialog-title">
|
||||
<DialogTitle />
|
||||
|
Loading…
x
Reference in New Issue
Block a user