forked from baron/baron-sso
devfront biome 포맷 정리
This commit is contained in:
@@ -87,7 +87,9 @@ function ClientsPage() {
|
||||
|
||||
const clients = data?.items || [];
|
||||
const totalClients = clients.length;
|
||||
const activeClients = clients.filter((client) => client.status === "active").length;
|
||||
const activeClients = clients.filter(
|
||||
(client) => client.status === "active",
|
||||
).length;
|
||||
// TODO: Replace with real session/auth-failure metrics when backend endpoints are available.
|
||||
type StatTone = "up" | "down" | "stable";
|
||||
type StatItem = {
|
||||
@@ -310,15 +312,10 @@ function ClientsPage() {
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<Badge
|
||||
variant={
|
||||
client.type === "private" ? "success" : "muted"
|
||||
}
|
||||
variant={client.type === "private" ? "success" : "muted"}
|
||||
>
|
||||
{client.type === "private"
|
||||
? t(
|
||||
"ui.dev.clients.type.private",
|
||||
"Private",
|
||||
)
|
||||
? t("ui.dev.clients.type.private", "Private")
|
||||
: t("ui.dev.clients.type.pkce", "PKCE")}
|
||||
</Badge>
|
||||
</TableCell>
|
||||
|
||||
Reference in New Issue
Block a user