fixed no result for search

This commit is contained in:
ronronscelestes 2021-11-05 17:02:34 +01:00
parent beca75eb5b
commit 1481647fa9

View File

@ -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 />