diff --git a/packages/twenty-front/src/modules/activities/files/hooks/useUploadAttachmentFile.tsx b/packages/twenty-front/src/modules/activities/files/hooks/useUploadAttachmentFile.tsx index 46c71f19461..e9c156246cc 100644 --- a/packages/twenty-front/src/modules/activities/files/hooks/useUploadAttachmentFile.tsx +++ b/packages/twenty-front/src/modules/activities/files/hooks/useUploadAttachmentFile.tsx @@ -22,6 +22,7 @@ export const useUploadAttachmentFile = () => { const { createOneRecord: createOneAttachment } = useCreateOneRecord({ objectNameSingular: CoreObjectNameSingular.Attachment, + shouldMatchRootQueryFilter: true, }); const uploadAttachmentFile = async ( diff --git a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx index 76f5d44e310..a0ccf87f350 100644 --- a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx +++ b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx @@ -92,7 +92,6 @@ export const WorkflowVariablesDropdown = ({ return (