Add help labels for Policy Details (#3175)

This commit is contained in:
Dominik Kawka 2022-08-24 17:47:58 +01:00 committed by GitHub
parent a0a154d9c9
commit 0b509131cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ export default function NewClientPolicyCondition() {
? `realm-settings-help:${camelCase( ? `realm-settings-help:${camelCase(
conditionType.replace(/-/g, " ") conditionType.replace(/-/g, " ")
)}` )}`
: "realm-settings:anyClient" : "realm-settings-help:conditions"
} }
fieldLabelId="realm-settings:conditionType" fieldLabelId="realm-settings:conditionType"
/> />

View file

@ -524,7 +524,7 @@ export default function NewClientPolicyForm() {
<Text className="kc-conditions" component={TextVariants.h1}> <Text className="kc-conditions" component={TextVariants.h1}>
{t("conditions")} {t("conditions")}
<HelpItem <HelpItem
helpText="realm-settings:realm-settings-help:conditions" helpText="realm-settings-help:conditions"
fieldLabelId="realm-settings:conditions" fieldLabelId="realm-settings:conditions"
/> />
</Text> </Text>