Added label in Client policies > global profile details heading (#3926)

This commit is contained in:
Dominik Kawka 2022-12-06 16:01:05 +00:00 committed by GitHub
parent 3f90f9ecf6
commit 9c5b948c57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ import {
Text,
TextVariants,
ValidatedOptions,
Label,
} from "@patternfly/react-core";
import type ClientProfileRepresentation from "@keycloak/keycloak-admin-client/lib/defs/clientProfileRepresentation";
@ -196,7 +197,11 @@ export default function ClientProfileForm() {
badges={[
{
id: "global-client-profile-badge",
text: isGlobalProfile ? t("global") : "",
text: isGlobalProfile ? (
<Label color="blue">{t("global")}</Label>
) : (
""
),
},
]}
divider