From 3051f3a790eafd67d827728b63a1100efa8c41be Mon Sep 17 00:00:00 2001 From: Lucas Bordeau Date: Mon, 27 May 2024 13:58:31 +0200 Subject: [PATCH] Fixed new record value context selector sync in activity drawer (#5594) Forgot to add `` effect component for activity drawer during refactor. --- .../components/RightDrawerActivity.tsx | 2 + .../twenty-front/src/pages/tasks/Tasks.tsx | 61 ++++++++++--------- 2 files changed, 34 insertions(+), 29 deletions(-) diff --git a/packages/twenty-front/src/modules/activities/right-drawer/components/RightDrawerActivity.tsx b/packages/twenty-front/src/modules/activities/right-drawer/components/RightDrawerActivity.tsx index 8e0a12c73..620e5ce39 100644 --- a/packages/twenty-front/src/modules/activities/right-drawer/components/RightDrawerActivity.tsx +++ b/packages/twenty-front/src/modules/activities/right-drawer/components/RightDrawerActivity.tsx @@ -2,6 +2,7 @@ import styled from '@emotion/styled'; import { ActivityEditor } from '@/activities/components/ActivityEditor'; import { ActivityEditorEffect } from '@/activities/components/ActivityEditorEffect'; +import { RecordValueSetterEffect } from '@/object-record/record-store/components/RecordValueSetterEffect'; const StyledContainer = styled.div` box-sizing: border-box; @@ -26,6 +27,7 @@ export const RightDrawerActivity = ({ }: RightDrawerActivityProps) => { return ( + { return ( - - - - - - - - - + + + + + + + + + + + } + rightComponent={ + - - } - rightComponent={ - - } - /> - - - - + } + /> + + + + + ); };