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 46c71f194..e9c156246 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 76f5d44e3..a0ccf87f3 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 (