mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +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 (
|
return (
|
||||||
<ModalLayout onClose={onClose} labelledBy="asset-dialog-title">
|
<ModalLayout onClose={onClose} labelledBy="asset-dialog-title">
|
||||||
<DialogTitle />
|
<DialogTitle />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user