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:
@ -6,11 +6,6 @@ import { useRelationField } from '../../hooks/useRelationField';
|
||||
export const RelationFieldDisplay = () => {
|
||||
const { fieldValue, fieldDefinition } = useRelationField();
|
||||
|
||||
console.log({
|
||||
fieldDefinition,
|
||||
fieldValue,
|
||||
});
|
||||
|
||||
const entityChipProps = getEntityChipFromFieldMetadata(
|
||||
fieldDefinition,
|
||||
fieldValue,
|
||||
|
||||
@ -18,11 +18,6 @@ export const getEntityChipFromFieldMetadata = (
|
||||
entityId: fieldValue?.id,
|
||||
};
|
||||
|
||||
console.log({
|
||||
fieldName,
|
||||
fieldValue,
|
||||
});
|
||||
|
||||
// TODO: use every
|
||||
if (fieldName === 'accountOwner' && fieldValue) {
|
||||
chipValue.name = fieldValue.firstName + ' ' + fieldValue.lastName;
|
||||
|
||||
@ -22,11 +22,6 @@ export const useRelationField = () => {
|
||||
}),
|
||||
);
|
||||
|
||||
console.log({
|
||||
fieldDefinition,
|
||||
fieldValue,
|
||||
});
|
||||
|
||||
const fieldInitialValue = useFieldInitialValue();
|
||||
|
||||
const initialSearchValue = fieldInitialValue?.isEmpty
|
||||
|
||||
Reference in New Issue
Block a user