mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
fix(bulk_actions): deleting a bulk action would execute all bulk actions
This commit is contained in:
@@ -23,7 +23,10 @@ export default function HelpRemoveButtons({ help, removeText, onRemove }: HelpRe
|
|||||||
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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user