forked from baron/baron-sso
로케일 누락 키 추가 및 lint 수정
This commit is contained in:
@@ -96,10 +96,7 @@ function getRecentClientFieldLabel(key: string) {
|
||||
"클라이언트 시크릿",
|
||||
);
|
||||
case "id_token_claims":
|
||||
return t(
|
||||
"ui.dev.clients.general.id_token_claims.title",
|
||||
"Custom Claims",
|
||||
);
|
||||
return t("ui.dev.clients.general.id_token_claims.title", "Custom Claims");
|
||||
default:
|
||||
return key;
|
||||
}
|
||||
@@ -159,11 +156,7 @@ function formatIdTokenClaimChangeSummary(
|
||||
const afterValueType =
|
||||
typeof afterValue.valueType === "string" ? afterValue.valueType : null;
|
||||
|
||||
if (
|
||||
beforeValueType &&
|
||||
afterValueType &&
|
||||
beforeValueType !== afterValueType
|
||||
) {
|
||||
if (beforeValueType && afterValueType && beforeValueType !== afterValueType) {
|
||||
return `~ ${beforeDisplayName}: ${beforeValueType} → ${afterValueType}`;
|
||||
}
|
||||
|
||||
@@ -317,7 +310,9 @@ export function buildRecentClientChangeDetails(
|
||||
}
|
||||
|
||||
if (action !== "CREATE_CLIENT" && action !== "DELETE_CLIENT") {
|
||||
if (auditValueSignature(beforeValue) === auditValueSignature(afterValue)) {
|
||||
if (
|
||||
auditValueSignature(beforeValue) === auditValueSignature(afterValue)
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user