diff --git a/packages/admin-ui/src/lib/marketing/src/components/promotion-detail/promotion-detail.component.ts b/packages/admin-ui/src/lib/marketing/src/components/promotion-detail/promotion-detail.component.ts index a4b94494bc..6f349d5055 100644 --- a/packages/admin-ui/src/lib/marketing/src/components/promotion-detail/promotion-detail.component.ts +++ b/packages/admin-ui/src/lib/marketing/src/components/promotion-detail/promotion-detail.component.ts @@ -266,7 +266,12 @@ export class PromotionDetailComponent }); entity.actions.forEach(o => this.addOperation('actions', o)); if (this.customFields.length) { - this.setCustomFieldFormValues(this.customFields, this.detailForm.get('customFields'), entity); + this.setCustomFieldFormValues( + this.customFields, + this.detailForm.get('customFields'), + entity, + currentTranslation, + ); } } diff --git a/packages/admin-ui/src/lib/settings/src/components/payment-method-detail/payment-method-detail.component.ts b/packages/admin-ui/src/lib/settings/src/components/payment-method-detail/payment-method-detail.component.ts index 9838ed87fa..7dfa5f7cd6 100644 --- a/packages/admin-ui/src/lib/settings/src/components/payment-method-detail/payment-method-detail.component.ts +++ b/packages/admin-ui/src/lib/settings/src/components/payment-method-detail/payment-method-detail.component.ts @@ -273,6 +273,7 @@ export class PaymentMethodDetailComponent this.customFields, this.detailForm.get('customFields'), paymentMethod, + currentTranslation, ); } }