A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: #135
thecodrrdb5531f0f04c
diff --git a/apps/web/src/common/selectionoptions.js b/apps/web/src/common/selectionoptions.jsindex b6222fcfa..b17f5c8d2 100644--- a/apps/web/src/common/selectionoptions.js+++ b/apps/web/src/common/selectionoptions.js@@ -30,7 +30,7 @@ const DeleteOption = createOption(Icon.Trash2, async function(state) {const item = state.selectedItems[0];var isAnyNoteOpened = false;const editorState = editorStore.getState();- const items = state.selectedItems.map(async item => {+ const items = state.selectedItems.map(item => {if (item.id === editorState.session.id) isAnyNoteOpened = true;if (item.locked) return 0;return item.id;