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: fix subscription settings not showing Signed-off-by: 01zulfi <[email protected]>
01zulfi43d3036525d5
diff --git a/apps/web/src/dialogs/settings/index.tsx b/apps/web/src/dialogs/settings/index.tsxindex 3360fa082..315ea52b6 100644--- a/apps/web/src/dialogs/settings/index.tsx+++ b/apps/web/src/dialogs/settings/index.tsx@@ -438,7 +438,8 @@ function SettingsGroupComponent(props: { item: SettingsGroup }) {}, [onStateChange]);const allHidden = item.settings.every((s) => s.isHidden?.());- if (item.isHidden?.() || allHidden) return null;+ const hasComponentHeader = typeof item.header !== "string";+ if (item.isHidden?.() || (allHidden && !hasComponentHeader)) return null;return (<Flex