fixed type (#2872)

This commit is contained in:
Erik Jan de Wit 2022-06-27 10:41:57 +02:00 committed by GitHub
parent 4e0bb695f8
commit b74265c722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,14 +57,13 @@ export const LogoutPanel = ({
id="kc-frontchannelLogout-switch"
label={t("common:on")}
labelOff={t("common:off")}
isChecked={value.toString() === "true"}
onChange={(value) => onChange(value.toString())}
isChecked={value}
onChange={onChange}
/>
)}
/>
</FormGroup>
{protocol === "openid-connect" &&
frontchannelLogout?.toString() === "true" && (
{protocol === "openid-connect" && frontchannelLogout && (
<FormGroup
label={t("frontchannelLogoutUrl")}
fieldId="frontchannelLogoutUrl"