@ -33,24 +33,26 @@ export const formatRelationMetadataInput = (
|
|||||||
: input.connect;
|
: input.connect;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
description,
|
description: fromDescription,
|
||||||
icon: fromIcon,
|
icon: fromIcon,
|
||||||
label: fromLabel,
|
label: fromLabel,
|
||||||
name: fromName,
|
name: fromName,
|
||||||
} = formatFieldMetadataItemInput(fromField);
|
} = formatFieldMetadataItemInput(fromField);
|
||||||
const {
|
const {
|
||||||
|
description: toDescription,
|
||||||
icon: toIcon,
|
icon: toIcon,
|
||||||
label: toLabel,
|
label: toLabel,
|
||||||
name: toName,
|
name: toName,
|
||||||
} = formatFieldMetadataItemInput(toField);
|
} = formatFieldMetadataItemInput(toField);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
description,
|
fromDescription,
|
||||||
fromIcon,
|
fromIcon,
|
||||||
fromLabel,
|
fromLabel,
|
||||||
fromName,
|
fromName,
|
||||||
fromObjectMetadataId,
|
fromObjectMetadataId,
|
||||||
relationType,
|
relationType,
|
||||||
|
toDescription,
|
||||||
toIcon,
|
toIcon,
|
||||||
toLabel,
|
toLabel,
|
||||||
toName,
|
toName,
|
||||||
|
|||||||
Reference in New Issue
Block a user