Skip to content

Commit

Permalink
fix(admin-ui): Fix localized custom fields in Promotion & PaymentMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Nov 21, 2023
1 parent 3d6edb5 commit d665ec6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export class PaymentMethodDetailComponent
this.customFields,
this.detailForm.get('customFields'),
paymentMethod,
currentTranslation,
);
}
}
Expand Down

0 comments on commit d665ec6

Please sign in to comment.