Fixed subheading in the dialog (#2855)

This commit is contained in:
agagancarczyk 2022-06-21 21:14:13 +01:00 committed by GitHub
parent 05f5dc3d5b
commit 25faa1366c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,9 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => {
variant={ModalVariant.medium}
header={
<TextContent>
<Text component={TextVariants.h1}>{t("addPredefinedMappers")}</Text>
<Text component={TextVariants.h1}>
{isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")}
</Text>
<Text>{t("predefinedMappingDescription")}</Text>
</TextContent>
}