diff --git a/src/components/Tables/Base/ItemActionButtons/index.jsx b/src/components/Tables/Base/ItemActionButtons/index.jsx index e9193568..e906ea6f 100644 --- a/src/components/Tables/Base/ItemActionButtons/index.jsx +++ b/src/components/Tables/Base/ItemActionButtons/index.jsx @@ -171,7 +171,7 @@ function DropdownActionButton({ dividerElement = ; } - if (allowedFatherCount === 1 && allowedAll === 1) { + if (allowedFatherCount === 1 && allowedAll === 1 && actionButton) { const className = isWide ? '' : styles['single-more-action']; moreElement = {actionButton}; } else if (allowedFatherCount > 0) { @@ -235,7 +235,6 @@ function getActionList(actions, item, containerProps) { actionList.push(newAction); } }); - return { actionList, firstAction: newFirst,