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: update vault setting immediately after vault creation (#3542)
Muhammad Ali365764e3e3a2
diff --git a/apps/web/src/dialogs/password-dialog.jsx b/apps/web/src/dialogs/password-dialog.jsxindex 4395bbc30..14ea6d61d 100644--- a/apps/web/src/dialogs/password-dialog.jsx+++ b/apps/web/src/dialogs/password-dialog.jsx@@ -105,7 +105,11 @@ function PasswordDialog(props) {<Labelkey={check.key}mt={2}- sx={{ fontSize: "title", alignItems: "center" }}+ sx={{+ fontSize: "body",+ fontFamily: "body",+ alignItems: "center"+ }}><Checkbox id={check.key} name={check.key} />{check.title}diff --git a/apps/web/src/dialogs/settings/vault-settings.tsx b/apps/web/src/dialogs/settings/vault-settings.tsxindex 7ab7ac0dd..efeb153b3 100644--- a/apps/web/src/dialogs/settings/vault-settings.tsx+++ b/apps/web/src/dialogs/settings/vault-settings.tsx@@ -58,6 +58,8 @@ export const VaultSettings: SettingsGroup[] = [title: "Change vault password",description: "Set a new password for your vault",isHidden: () => !useAppStore.getState().isVaultCreated,+ onStateChange: (listener) =>+ useAppStore.subscribe((s) => s.isVaultCreated, listener),components: [{type: "button",@@ -72,6 +74,8 @@ export const VaultSettings: SettingsGroup[] = [title: "Clear vault",description: "Unlock all locked notes and clear vault.",isHidden: () => !useAppStore.getState().isVaultCreated,+ onStateChange: (listener) =>+ useAppStore.subscribe((s) => s.isVaultCreated, listener),components: [{type: "button",@@ -91,6 +95,8 @@ export const VaultSettings: SettingsGroup[] = [title: "Delete vault",description: "Delete vault including all locked notes.",isHidden: () => !useAppStore.getState().isVaultCreated,+ onStateChange: (listener) =>+ useAppStore.subscribe((s) => s.isVaultCreated, listener),components: [{type: "button",