1
0
forked from baron/baron-sso

누락된 키 추가: 테넌트 수정 화면에 새롭게 추가한 '상위 테넌트' 관련 UI 키 2종을 로컬 설정 파일에 반영했습니다

This commit is contained in:
2026-03-24 16:33:01 +09:00
parent a4f283e4e6
commit 311e491683
11 changed files with 3986 additions and 4045 deletions

View File

@@ -147,9 +147,21 @@ function TenantProfileCard({
: false,
})}
/>
{errors.metadata?.[tenant.id]?.[field.key] && (
{(
errors.metadata as unknown as Record<
string,
Record<string, { message?: string }>
>
)?.[tenant.id]?.[field.key] && (
<p className="text-[10px] text-destructive">
{(errors.metadata as any)?.[tenant.id]?.[field.key]?.message}
{
(
errors.metadata as unknown as Record<
string,
Record<string, { message?: string }>
>
)?.[tenant.id]?.[field.key]?.message
}
</p>
)}
</div>
@@ -248,7 +260,10 @@ function UserDetailPage() {
position: user.position || "",
jobTitle: user.jobTitle || "",
password: "",
metadata: (user.metadata || {}) as any,
metadata: (user.metadata || {}) as unknown as Record<
string,
Record<string, unknown>
>,
});
}
}, [user, reset]);