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: fallback to created date if billed at date is not present
Abdullah Atta641c54130587
diff --git a/apps/web/src/dialogs/settings/components/billing-history.tsx b/apps/web/src/dialogs/settings/components/billing-history.tsxindex dc6e92540..9fcc58266 100644--- a/apps/web/src/dialogs/settings/components/billing-history.tsx+++ b/apps/web/src/dialogs/settings/components/billing-history.tsx@@ -173,7 +173,10 @@ export function BillingHistory() {/></Text><Text as="td" variant="body">- {getFormattedDate(transaction.billed_at, "date")}+ {getFormattedDate(+ transaction.billed_at || transaction.created_at,+ "date"+ )}</Text><Text as="td" variant="body">{(transaction.details.totals.grand_total / 100).toFixed(