2472 v2 settings workspace module (#2532)
* update findOneWorkspaceMember * profile picture upload is working * first name and last name working * support almost working * remove picture working * removed unused code * remove console logs and fix allowImpersonation in FIND_ONE_WORKSPACE_MEMBER_V2 * use useUpdateOneObjectRecord
This commit is contained in:
@ -33,16 +33,12 @@ export const useMapFieldMetadataToGraphQLQuery = () => {
|
||||
fieldType === 'RELATION' &&
|
||||
field.toRelationMetadata?.relationType === 'ONE_TO_MANY'
|
||||
) {
|
||||
console.log({ objectMetadataItems, field });
|
||||
|
||||
const relationMetadataItem = objectMetadataItems.find(
|
||||
(objectMetadataItem) =>
|
||||
objectMetadataItem.id ===
|
||||
(field.toRelationMetadata as any)?.fromObjectMetadata?.id,
|
||||
);
|
||||
|
||||
console.log({ relationMetadataItem });
|
||||
|
||||
return `${field.name}
|
||||
{
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user