Skip to content

Commit

Permalink
Fix small tooltip logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Vega committed Oct 30, 2024
1 parent a105e86 commit e2cfa76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Collaborators/CollaboratorsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ const CollaboratorsTable = ({ isEdit }: Props) => {
tooltipProps={{
placement: "top",
title: TOOLTIP_TEXT.COLLABORATORS_DIALOG.ACTIONS.ADD_COLLABORATOR_DISABLED,
disableHoverListener: isEdit && currentCollaborators?.length >= maxCollaborators,
disableHoverListener: isEdit && currentCollaborators?.length < maxCollaborators,
disableInteractive: true,
}}
data-testid="add-collaborator-button"
Expand Down

0 comments on commit e2cfa76

Please sign in to comment.