From ed73d09ef8d0ba9335870bbed1e8891cef85890f Mon Sep 17 00:00:00 2001 From: Andrey Rusakov Date: Wed, 11 Dec 2024 16:59:20 +0100 Subject: [PATCH] Fix long loading of the address for public order --- src/app/account/new-order/new-order.component.ts | 4 ++-- src/locale/messages.xlf | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app/account/new-order/new-order.component.ts b/src/app/account/new-order/new-order.component.ts index 95c25510..a13354c3 100644 --- a/src/app/account/new-order/new-order.component.ts +++ b/src/app/account/new-order/new-order.component.ts @@ -368,10 +368,10 @@ export class NewOrderComponent implements OnInit, OnDestroy { this.customerCtrl?.setValue(''); this.isCustomerSelected = true; this.isNewInvoiceContact = true; - + this.updateContactForm('2'); for (const key in this.invoiceContactsFormControls) { if (key === 'country') { - this.contactFormGroup.get(key)?.setValue('Suisse'); + this.contactFormGroup.get(key)?.setValue($localize`Suisse`); } else { this.contactFormGroup.get(key)?.setValue(''); } diff --git a/src/locale/messages.xlf b/src/locale/messages.xlf index 9c4ffeac..7232da52 100644 --- a/src/locale/messages.xlf +++ b/src/locale/messages.xlf @@ -582,6 +582,13 @@ 102 + + Suisse + + src/app/account/new-order/new-order.component.ts + 374 + + Supprimer