forked from baron/baron-sso
devfront biome 포맷 정리
This commit is contained in:
@@ -163,9 +163,13 @@ function ClientGeneralPage() {
|
||||
(err as Error)?.message ??
|
||||
t("msg.common.unknown_error", "unknown error");
|
||||
alert(
|
||||
t("msg.dev.clients.general.save_error", "저장에 실패했습니다: {{error}}", {
|
||||
error: errorMessage,
|
||||
}),
|
||||
t(
|
||||
"msg.dev.clients.general.save_error",
|
||||
"저장에 실패했습니다: {{error}}",
|
||||
{
|
||||
error: errorMessage,
|
||||
},
|
||||
),
|
||||
);
|
||||
},
|
||||
});
|
||||
@@ -515,10 +519,7 @@ function ClientGeneralPage() {
|
||||
/>
|
||||
<span className="flex items-center gap-2 text-sm font-bold uppercase text-foreground">
|
||||
<Shield className="h-4 w-4 text-primary" />
|
||||
{t(
|
||||
"ui.dev.clients.general.security.private",
|
||||
"Private",
|
||||
)}
|
||||
{t("ui.dev.clients.general.security.private", "Private")}
|
||||
</span>
|
||||
<span className="text-xs text-muted-foreground">
|
||||
{t(
|
||||
|
||||
@@ -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