mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-27 01:45:32 +00:00
fix: filter deleted assets while adding (#14304)
This commit is contained in:
parent
cb94243370
commit
d544220690
@ -156,6 +156,7 @@ export const AssetSelectionModal = ({
|
|||||||
searchIndex: index,
|
searchIndex: index,
|
||||||
query: searchText,
|
query: searchText,
|
||||||
queryFilter: updatedQueryFilter,
|
queryFilter: updatedQueryFilter,
|
||||||
|
includeDeleted: false,
|
||||||
});
|
});
|
||||||
const hits = res.hits.hits as SearchedDataProps['data'];
|
const hits = res.hits.hits as SearchedDataProps['data'];
|
||||||
setTotalCount(res.hits.total.value ?? 0);
|
setTotalCount(res.hits.total.value ?? 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user