forked from baron/baron-sso
네이버 계정 정합성 맞춤
This commit is contained in:
@@ -61,6 +61,7 @@ import {
|
||||
type OrgChartTenantSelection,
|
||||
parseOrgChartTenantSelection,
|
||||
} from "./orgChartPicker";
|
||||
import { formatUserPolicyMessage } from "./userPolicyMessages";
|
||||
import type { UserSchemaField } from "./userSchemaFields";
|
||||
import { resolvePersonalTenant } from "./utils/personalTenant";
|
||||
|
||||
@@ -399,7 +400,7 @@ function UserCreatePage() {
|
||||
},
|
||||
onError: (err: AxiosError<{ error?: string }>) => {
|
||||
setError(
|
||||
err.response?.data?.error ||
|
||||
formatUserPolicyMessage(err.response?.data?.error) ||
|
||||
t("msg.admin.users.create.error", "사용자 생성에 실패했습니다."),
|
||||
);
|
||||
},
|
||||
@@ -943,8 +944,12 @@ function UserCreatePage() {
|
||||
data-testid={`appointment-tenant-picker-${index}`}
|
||||
>
|
||||
<Building2 className="mr-2 h-4 w-4 shrink-0" />
|
||||
<span className="truncate">
|
||||
{appointment.tenantName || "테넌트 선택"}
|
||||
<span className="pointer-events-none truncate">
|
||||
{appointment.tenantName ||
|
||||
t(
|
||||
"ui.admin.users.create.form.pick_from_hanmac_family",
|
||||
"한맥가족에서 선택",
|
||||
)}
|
||||
</span>
|
||||
</Button>
|
||||
{appointment.tenantSlug && (
|
||||
|
||||
Reference in New Issue
Block a user