Skip to content

Commit

Permalink
Fix disabled tooltip (#850)
Browse files Browse the repository at this point in the history
Co-authored-by: Domino987 <[email protected]>
  • Loading branch information
ShotSkydiver and Domino987 authored Oct 17, 2024
1 parent 29a8cc0 commit dc67448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MTableAction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function MTableAction({
if (action.tooltip) {
// fix for issue #1049
// https://github.com/mbrn/material-table/issues/1049
return disabled ? (
return isDisabled ? (
<Tooltip title={action.tooltip}>
<span>{button}</span>
</Tooltip>
Expand Down

0 comments on commit dc67448

Please sign in to comment.