mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 20:51:26 +00:00
fix the disabled button click issue (#7816)
This commit is contained in:
parent
d2adde53c6
commit
eb4747362d
@ -70,9 +70,11 @@ const ManageButton: FC<Props> = ({
|
|||||||
})}
|
})}
|
||||||
size={8}
|
size={8}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
if (canDelete) {
|
||||||
setIsDelete(true);
|
e.stopPropagation();
|
||||||
setShowActions(false);
|
setIsDelete(true);
|
||||||
|
setShowActions(false);
|
||||||
|
}
|
||||||
}}>
|
}}>
|
||||||
<SVGIcons alt="Delete" icon={Icons.DELETE} />
|
<SVGIcons alt="Delete" icon={Icons.DELETE} />
|
||||||
<div className="tw-text-left" data-testid="delete-button">
|
<div className="tw-text-left" data-testid="delete-button">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user