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:
@ -88,7 +88,7 @@ export const useAddNewRecordAndOpenRightDrawer = ({
|
|||||||
RelationDefinitionType.ManyToOne
|
RelationDefinitionType.ManyToOne
|
||||||
) {
|
) {
|
||||||
createRecordPayload[
|
createRecordPayload[
|
||||||
`${relationFieldMetadataItem?.relationDefinition?.targetFieldMetadata.name}Id`
|
`${relationFieldMetadataItem?.relationDefinition?.sourceFieldMetadata.name}Id`
|
||||||
] = entityId;
|
] = entityId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,7 @@ import { useRecoilValue } from 'recoil';
|
|||||||
import {
|
import {
|
||||||
IconCalendarEvent,
|
IconCalendarEvent,
|
||||||
IconCheckbox,
|
IconCheckbox,
|
||||||
|
IconHome,
|
||||||
IconMail,
|
IconMail,
|
||||||
IconNotes,
|
IconNotes,
|
||||||
IconPaperclip,
|
IconPaperclip,
|
||||||
@ -92,7 +93,7 @@ export const ShowPageRightContainer = ({
|
|||||||
{
|
{
|
||||||
id: 'summary',
|
id: 'summary',
|
||||||
title: 'Summary',
|
title: 'Summary',
|
||||||
Icon: IconCheckbox,
|
Icon: IconHome,
|
||||||
hide: !isMobile,
|
hide: !isMobile,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -90,6 +90,7 @@ export {
|
|||||||
IconHeartOff,
|
IconHeartOff,
|
||||||
IconHelpCircle,
|
IconHelpCircle,
|
||||||
IconHierarchy2,
|
IconHierarchy2,
|
||||||
|
IconHome,
|
||||||
IconInbox,
|
IconInbox,
|
||||||
IconInfoCircle,
|
IconInfoCircle,
|
||||||
IconJson,
|
IconJson,
|
||||||
|
|||||||
Reference in New Issue
Block a user