This commit is contained in:
parent
973fb4d2d5
commit
43af60237b
@ -6,7 +6,7 @@ import type { KcContextBase } from "../getKcContext/KcContextBase";
|
|||||||
import { getMsg } from "../i18n";
|
import { getMsg } from "../i18n";
|
||||||
|
|
||||||
export const Info = memo(({ kcContext, ...props }: { kcContext: KcContextBase.Info } & KcProps) => {
|
export const Info = memo(({ kcContext, ...props }: { kcContext: KcContextBase.Info } & KcProps) => {
|
||||||
const { msg } = getMsg(kcContext);
|
const { msg, msgStr } = getMsg(kcContext);
|
||||||
|
|
||||||
assert(kcContext.message !== undefined);
|
assert(kcContext.message !== undefined);
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ export const Info = memo(({ kcContext, ...props }: { kcContext: KcContextBase.In
|
|||||||
{message.summary}
|
{message.summary}
|
||||||
|
|
||||||
{requiredActions !== undefined && (
|
{requiredActions !== undefined && (
|
||||||
<b>{requiredActions.map(requiredAction => msg(`requiredAction.${requiredAction}` as const)).join(",")}</b>
|
<b>{requiredActions.map(requiredAction => msgStr(`requiredAction.${requiredAction}` as const)).join(",")}</b>
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
{!skipLink && pageRedirectUri !== undefined ? (
|
{!skipLink && pageRedirectUri !== undefined ? (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user