forked from baron/baron-sso
code check 오류 수정
This commit is contained in:
@@ -339,10 +339,14 @@ function ClientGeneralPage() {
|
||||
const [initialStatus, setInitialStatus] = useState<ClientStatus>("active");
|
||||
const [redirectUris, setRedirectUris] = useState("");
|
||||
const [backchannelLogoutUri, setBackchannelLogoutUri] = useState("");
|
||||
const [backchannelLogoutSessionRequired, setBackchannelLogoutSessionRequired] =
|
||||
useState(false);
|
||||
const [isBackchannelSessionRequiredInfoOpen, setIsBackchannelSessionRequiredInfoOpen] =
|
||||
useState(false);
|
||||
const [
|
||||
backchannelLogoutSessionRequired,
|
||||
setBackchannelLogoutSessionRequired,
|
||||
] = useState(false);
|
||||
const [
|
||||
isBackchannelSessionRequiredInfoOpen,
|
||||
setIsBackchannelSessionRequiredInfoOpen,
|
||||
] = useState(false);
|
||||
const [tenantAccessRestricted, setTenantAccessRestricted] = useState(false);
|
||||
const [allowedTenantIds, setAllowedTenantIds] = useState<string[]>([]);
|
||||
const [tenantSearch, setTenantSearch] = useState("");
|
||||
@@ -1610,9 +1614,7 @@ function ClientGeneralPage() {
|
||||
: "text-muted-foreground/60 hover:text-primary"
|
||||
}`}
|
||||
onClick={() =>
|
||||
setIsBackchannelSessionRequiredInfoOpen(
|
||||
(prev) => !prev,
|
||||
)
|
||||
setIsBackchannelSessionRequiredInfoOpen((prev) => !prev)
|
||||
}
|
||||
aria-label={t(
|
||||
"ui.dev.clients.general.backchannel_logout.session_required_info",
|
||||
@@ -1657,9 +1659,7 @@ function ClientGeneralPage() {
|
||||
id="backchannel-logout-session-required"
|
||||
checked={backchannelLogoutSessionRequired}
|
||||
onCheckedChange={setBackchannelLogoutSessionRequired}
|
||||
disabled={
|
||||
isGeneralSettingsReadOnly || !hasBackchannelLogoutUri
|
||||
}
|
||||
disabled={isGeneralSettingsReadOnly || !hasBackchannelLogoutUri}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user