fix(bulk_actions): deleting a bulk action would execute all bulk actions

This commit is contained in:
Elian Doran 2025-09-28 10:42:15 +03:00
parent 2eaeccda05
commit 6fc5aa0090
No known key found for this signature in database

View File

@ -14,17 +14,20 @@ export default function HelpRemoveButtons({ help, removeText, onRemove }: HelpRe
{help && <> {help && <>
<Dropdown <Dropdown
className="help-dropdown" className="help-dropdown"
buttonClassName="bx bx-help-circle icon-action" buttonClassName="bx bx-help-circle icon-action"
hideToggleArrow hideToggleArrow
>{help}</Dropdown> >{help}</Dropdown>
{" "} {" "}
</>} </>}
<ActionButton <ActionButton
icon="bx bx-x" icon="bx bx-x"
className="search-option-del" className="search-option-del"
text={removeText ?? ""} text={removeText ?? ""}
onClick={onRemove} onClick={(e) => {
e.preventDefault();
onRemove?.();
}}
/> />
</td> </td>
); );
} }