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: #75
thecodrr871878b3f778
diff --git a/apps/web/src/common/selectionoptions.js b/apps/web/src/common/selectionoptions.jsindex 196c506b9..31b5d3ec6 100644--- a/apps/web/src/common/selectionoptions.js+++ b/apps/web/src/common/selectionoptions.js@@ -77,10 +77,15 @@ const AddToNotebookOption = createOption(Icon.Plus, async function(state) {}});+const RestoreOption = createOption(Icon.RefreshCcw, async function(state) {+ const items = state.selectedItems.map(item => item.id);+ await db.trash.restore(items);+});+const NotesOptions = createOptions([AddToNotebookOption, FavoriteOption]);const NotebooksOptions = createOptions();const TopicOptions = createOptions();-const TrashOptions = createOptions();+const TrashOptions = createOptions([RestoreOption]);const FavoritesOptions = createOptions([UnfavoriteOption]);export default {