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: only show billing history if provider is Paddle
Abdullah Atta954ac3154f3e
diff --git a/apps/web/src/dialogs/settings/subscription-settings.ts b/apps/web/src/dialogs/settings/subscription-settings.tsindex e148ce1cc..145695e3c 100644--- a/apps/web/src/dialogs/settings/subscription-settings.ts+++ b/apps/web/src/dialogs/settings/subscription-settings.ts@@ -246,6 +246,13 @@ export const SubscriptionSettings: SettingsGroup[] = [{key: "billing-history",title: strings.billingHistory(),+ isHidden: () => {+ const user = useUserStore.getState().user;+ return (+ user?.subscription.provider !== SubscriptionProvider.PADDLE ||+ !isUserSubscribed(user)+ );+ },components: [{ type: "custom", component: BillingHistory }]}]