Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(bulk_actions): deleting a bulk action would execute all bulk actions
Elian Doran6fc5aa0090d3
diff --git a/apps/client/src/widgets/react/HelpRemoveButtons.tsx b/apps/client/src/widgets/react/HelpRemoveButtons.tsxindex 7eda18b971..79c0a138f7 100644--- a/apps/client/src/widgets/react/HelpRemoveButtons.tsx+++ b/apps/client/src/widgets/react/HelpRemoveButtons.tsx@@ -14,17 +14,20 @@ export default function HelpRemoveButtons({ help, removeText, onRemove }: HelpRe{help && <><DropdownclassName="help-dropdown"- buttonClassName="bx bx-help-circle icon-action"+ buttonClassName="bx bx-help-circle icon-action"hideToggleArrow>{help}</Dropdown>{" "}- </>}+ </>}<ActionButtonicon="bx bx-x"className="search-option-del"text={removeText ?? ""}- onClick={onRemove}+ onClick={(e) => {+ e.preventDefault();+ onRemove?.();+ }}/></td>);-}\ No newline at end of file+}