fixed type (#2872)
This commit is contained in:
parent
4e0bb695f8
commit
b74265c722
1 changed files with 35 additions and 36 deletions
|
@ -57,14 +57,13 @@ export const LogoutPanel = ({
|
||||||
id="kc-frontchannelLogout-switch"
|
id="kc-frontchannelLogout-switch"
|
||||||
label={t("common:on")}
|
label={t("common:on")}
|
||||||
labelOff={t("common:off")}
|
labelOff={t("common:off")}
|
||||||
isChecked={value.toString() === "true"}
|
isChecked={value}
|
||||||
onChange={(value) => onChange(value.toString())}
|
onChange={onChange}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
{protocol === "openid-connect" &&
|
{protocol === "openid-connect" && frontchannelLogout && (
|
||||||
frontchannelLogout?.toString() === "true" && (
|
|
||||||
<FormGroup
|
<FormGroup
|
||||||
label={t("frontchannelLogoutUrl")}
|
label={t("frontchannelLogoutUrl")}
|
||||||
fieldId="frontchannelLogoutUrl"
|
fieldId="frontchannelLogoutUrl"
|
||||||
|
|
Loading…
Reference in a new issue