From 9cfabd81cbcbc14432f2a6af2af882d3bd35ab3c Mon Sep 17 00:00:00 2001 From: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue, 10 Jun 2025 11:12:41 +0200 Subject: [PATCH] Fix missing New Note / New Task button (#12513) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New Note button was missing because of the wrong condition being applied to display it Capture d’écran 2025-06-10 à 10 26 57 --- .../src/modules/activities/files/components/Attachments.tsx | 2 +- .../src/modules/activities/notes/components/Notes.tsx | 2 +- .../src/modules/activities/tasks/components/TaskGroups.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx b/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx index f6377d39c..f5dbdeac9 100644 --- a/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx +++ b/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx @@ -129,7 +129,7 @@ export const Attachments = ({ title="All" attachments={attachments ?? []} button={ - !hasObjectUpdatePermissions && ( + hasObjectUpdatePermissions && (