diff --git a/src/core_modules/capture-core/components/WidgetProfile/WidgetProfile.component.js b/src/core_modules/capture-core/components/WidgetProfile/WidgetProfile.component.js index c94ed1cdb6..4379a7b768 100644 --- a/src/core_modules/capture-core/components/WidgetProfile/WidgetProfile.component.js +++ b/src/core_modules/capture-core/components/WidgetProfile/WidgetProfile.component.js @@ -148,10 +148,14 @@ const WidgetProfilePlain = ({ -
{i18n.t('{{trackedEntityTypeName}} profile', { - trackedEntityTypeName, - interpolation: { escapeValue: false }, - })}
+
+ {trackedEntityTypeName + ? i18n.t('{{trackedEntityTypeName}} profile', { + trackedEntityTypeName, + interpolation: { escapeValue: false }, + }) + : i18n.t('Profile')} +
{isEditable && (