Skip to content

Commit

Permalink
Fix delete cluster action
Browse files Browse the repository at this point in the history
  • Loading branch information
akucharska committed Dec 16, 2024
1 parent e10b457 commit 3ce471a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/shared/components/ListActions/ListActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ const StandaloneAction = ({ action, entry }) => {
return (
<Button
data-testid={action.name.replace(' ', '').toLowerCase()}
onClick={() => action.handler(entry)}
onClick={e => {
e.stopPropagation();
action.handler(entry);
}}
className="list-actions__standalone"
design="Transparent"
icon={typeof icon === 'function' ? icon(entry) : icon}
Expand Down

0 comments on commit 3ce471a

Please sign in to comment.