Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export abstract class MetadataGroupComponent extends RenderingTypeStructuredMode
* Returns a string representing the label of field if exists
*/
getLabel(field: LayoutField): string {
const fieldLabelI18nKey = this.fieldI18nPrefix + field.label;
const fieldLabelI18nKey = this.fieldI18nPrefix + this.item.entityType + '.' + field.metadata;
const header: string = this.translateService.instant(fieldLabelI18nKey);
if (header === fieldLabelI18nKey) {
// if translation does not exist return the value present in the header property
Expand Down