Fix/company picker v2 (#2535)
Fixed company picker V2 Fixed picker search hook filters / where clause Fixed OrderBy / SortOrder type Fixed set relation to null
This commit is contained in:
@ -105,16 +105,11 @@ export const usePersistField = () => {
|
||||
valueToPersist,
|
||||
);
|
||||
|
||||
console.log({
|
||||
fieldName,
|
||||
valueToPersist,
|
||||
});
|
||||
|
||||
updateEntity?.({
|
||||
variables: {
|
||||
where: { id: entityId },
|
||||
data: {
|
||||
[fieldName]: valueToPersist?.id,
|
||||
[fieldName]: valueToPersist?.id ?? null,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user