Skip to content

Commit

Permalink
feat(board) : #MAG-193 can open card preview on click in read mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Mariotti committed Jan 7, 2025
1 parent 6e8dc76 commit 0178205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/board-card/BoardCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const BoardCard: FC<BoardCardProps> = ({
isDragging={isDragging}
ref={setNodeRef}
onDoubleClick={handleDoubleClick}
onClick={!hasContribRights ? handleDoubleClick : undefined}
style={style}
{...(readOnly ? {} : { ...attributes, ...listeners })}
>
Expand Down

0 comments on commit 0178205

Please sign in to comment.