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
web: add manage attachments button in settings
Abdullah Attac61082cdee56
diff --git a/apps/web/src/dialogs/settings/profile-settings.ts b/apps/web/src/dialogs/settings/profile-settings.tsindex c93bd2710..e6e2f4658 100644--- a/apps/web/src/dialogs/settings/profile-settings.ts+++ b/apps/web/src/dialogs/settings/profile-settings.ts@@ -23,6 +23,7 @@ import {} from "../../stores/user-store";import { SettingsGroup } from "./types";import {+ showAttachmentsDialog,showClearSessionsConfirmation,showEmailChangeDialog,showLoadingDialog,@@ -56,6 +57,20 @@ export const ProfileSettings: SettingsGroup[] = [}]},+ {+ key: "manage-attachments",+ title: "Attachments",+ description: "Manage all your attachments in one place.",+ isHidden: () => !useUserStore.getState().isLoggedIn,+ components: [+ {+ type: "button",+ title: "Open manager",+ variant: "secondary",+ action: showAttachmentsDialog+ }+ ]+ },{key: "recovery-key",title: "Recovery key",