mirror of
https://github.com/strapi/strapi.git
synced 2025-12-04 11:02:12 +00:00
RelationInputWrapper: Rename omitIds to idsToOmit
This commit is contained in:
parent
9efbd6dfa6
commit
7198dea70b
@ -89,7 +89,7 @@ export const RelationInputWrapper = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleSearch = (term) => {
|
const handleSearch = (term) => {
|
||||||
searchFor(term, { omitIds: modifiedData?.[name]?.connect?.map((relation) => relation.id) });
|
searchFor(term, { idsToOmit: modifiedData?.[name]?.connect?.map((relation) => relation.id) });
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSearchMore = () => {
|
const handleSearchMore = () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user