Fix missing New Note / New Task button (#12513)

New Note button was missing because of the wrong condition being applied
to display it
<img width="492" alt="Capture d’écran 2025-06-10 à 10 26 57"
src="https://github.com/user-attachments/assets/dafd10e3-b3a8-497c-9a00-c395f20cecbb"
/>
This commit is contained in:
Marie
2025-06-10 11:12:41 +02:00
committed by GitHub
parent 3cbd3427a1
commit 9cfabd81cb
3 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ export const Attachments = ({
title="All"
attachments={attachments ?? []}
button={
!hasObjectUpdatePermissions && (
hasObjectUpdatePermissions && (
<Button
Icon={IconPlus}
size="small"