Skip to content

Commit 0ed1156

Browse files
fix(CustomerSettings): include organization locale (#2011)
1 parent 1e87f4c commit 0ed1156

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/components/customers/CustomerSettings.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,10 @@ export const CustomerSettings = ({ customerId }: CustomerSettingsProps) => {
324324
{!!customer?.billingConfiguration?.documentLocale
325325
? DocumentLocales[customer?.billingConfiguration?.documentLocale]
326326
: translate('text_1728374331992d2alok9y3kr', {
327-
value: DocumentLocales['en'],
327+
value:
328+
DocumentLocales[
329+
organization?.billingConfiguration?.documentLocale || 'en'
330+
],
328331
})}
329332
</Typography>
330333
</SettingsListItem>

0 commit comments

Comments
 (0)