parent
492ba6889c
commit
afc04588a5
2 changed files with 12 additions and 4 deletions
|
@ -52,5 +52,6 @@
|
||||||
"all": "All",
|
"all": "All",
|
||||||
"saml": "SAML",
|
"saml": "SAML",
|
||||||
"openid-connect": "openid-connect"
|
"openid-connect": "openid-connect"
|
||||||
}
|
},
|
||||||
|
"headerName": "header name"
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,10 +86,17 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
aria-labelledby={t("addPredefinedMappers")}
|
aria-label={
|
||||||
|
isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")
|
||||||
|
}
|
||||||
variant={ModalVariant.medium}
|
variant={ModalVariant.medium}
|
||||||
header={
|
header={
|
||||||
<TextContent>
|
<TextContent
|
||||||
|
role="dialog"
|
||||||
|
aria-label={
|
||||||
|
isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")
|
||||||
|
}
|
||||||
|
>
|
||||||
<Text component={TextVariants.h1}>
|
<Text component={TextVariants.h1}>
|
||||||
{isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")}
|
{isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")}
|
||||||
</Text>
|
</Text>
|
||||||
|
@ -142,7 +149,7 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => {
|
||||||
aria-label={t("addPredefinedMappers")}
|
aria-label={t("addPredefinedMappers")}
|
||||||
isCompact
|
isCompact
|
||||||
>
|
>
|
||||||
<DataListItem aria-labelledby="headerName" id="header">
|
<DataListItem aria-label={t("headerName")} id="header">
|
||||||
<DataListItemRow>
|
<DataListItemRow>
|
||||||
<DataListItemCells
|
<DataListItemCells
|
||||||
dataListCells={header.map((name) => (
|
dataListCells={header.map((name) => (
|
||||||
|
|
Loading…
Reference in a new issue