Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: multi items move to trash

thecodrr78f0d6e0ce27
diff --git a/apps/web/src/common/selectionoptions.js b/apps/web/src/common/selectionoptions.js
index 05a20a5c7..5be8f7a96 100644
--- a/apps/web/src/common/selectionoptions.js
+++ b/apps/web/src/common/selectionoptions.js
@@ -13,7 +13,7 @@ function createOption(key, icon, onClick) {
key,
icon,
onClick: async () => {
- await onClick.call(this, selectionStore);
+ await onClick.call(this, selectionStore.get());
selectionStore.toggleSelectionMode(false);
},
};