mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-27 11:03:40 +03:00
Update icon and fix relation creation (#5742)
A minor fix (update icon and fix relation creation when creating a relation in right drawer)
This commit is contained in:
parent
6d869297b5
commit
5164c7fd3c
@ -88,7 +88,7 @@ export const useAddNewRecordAndOpenRightDrawer = ({
|
||||
RelationDefinitionType.ManyToOne
|
||||
) {
|
||||
createRecordPayload[
|
||||
`${relationFieldMetadataItem?.relationDefinition?.targetFieldMetadata.name}Id`
|
||||
`${relationFieldMetadataItem?.relationDefinition?.sourceFieldMetadata.name}Id`
|
||||
] = entityId;
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,7 @@ import { useRecoilValue } from 'recoil';
|
||||
import {
|
||||
IconCalendarEvent,
|
||||
IconCheckbox,
|
||||
IconHome,
|
||||
IconMail,
|
||||
IconNotes,
|
||||
IconPaperclip,
|
||||
@ -92,7 +93,7 @@ export const ShowPageRightContainer = ({
|
||||
{
|
||||
id: 'summary',
|
||||
title: 'Summary',
|
||||
Icon: IconCheckbox,
|
||||
Icon: IconHome,
|
||||
hide: !isMobile,
|
||||
},
|
||||
{
|
||||
|
@ -90,6 +90,7 @@ export {
|
||||
IconHeartOff,
|
||||
IconHelpCircle,
|
||||
IconHierarchy2,
|
||||
IconHome,
|
||||
IconInbox,
|
||||
IconInfoCircle,
|
||||
IconJson,
|
||||
|
Loading…
Reference in New Issue
Block a user