Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fallback customer name if non-existing #1246

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ditto/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@
"text_64d27292062d9600b089aacb": "The calculated value is not reset to 0, it is persistent over all billable periods",
"text_64d272b4df12dc008076e232": "The calculated value is reset to 0 at the beginning of each period",
"text_64dd2711d878ad007212de91": "Subscription external id already existing on another subscription, please type a new one",
"text_651a8ab50fd34e005d1c1dc7": "customer",
"text_645d071272418a14c1c76a5f": "Connect to Adyen",
"text_645d071272418a14c1c76a6b": "To connect to Adyen, please enter the API key generated from your Adyen account and the Merchant Account.",
"text_645d071272418a14c1c76ad8": "Connect to Adyen",
Expand Down
2 changes: 1 addition & 1 deletion src/components/customers/DeleteCustomerDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const DeleteCustomerDialog = forwardRef<DialogRef, DeleteCustomerDialogPr
<WarningDialog
ref={ref}
title={translate('text_626162c62f790600f850b6e8', {
customerFullName: customer?.name,
customerFullName: customer?.name || translate('text_651a8ab50fd34e005d1c1dc7'),
})}
description={<Typography html={translate('text_626162c62f790600f850b6f8')} />}
onContinue={async () =>
Expand Down