diff --git a/frontend/src/components/board-card/useCardDropDownItems.tsx b/frontend/src/components/board-card/useCardDropDownItems.tsx index eb6fec113..2ff86e721 100644 --- a/frontend/src/components/board-card/useCardDropDownItems.tsx +++ b/frontend/src/components/board-card/useCardDropDownItems.tsx @@ -120,18 +120,18 @@ export const useCardDropDownItems = ( } if (isLocked) { - return !hasEditRights ? - [menuItems.preview] - : (isMagnetOwner || isManager) ? - [ - menuItems.preview, - menuItems.duplicate, - menuItems.edit, - menuItems.move, - menuItems.lock, - menuItems.delete, - ] - : [menuItems.preview]; + return !hasEditRights + ? [menuItems.preview] + : isMagnetOwner || isManager + ? [ + menuItems.preview, + menuItems.duplicate, + menuItems.edit, + menuItems.move, + menuItems.lock, + menuItems.delete, + ] + : [menuItems.preview]; } // console.log("hasContrib", hasContribRights);