Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -91,10 +91,10 @@ export function UserAuthTable({ users, isLoading, paginationInfo, onEditAuth, on
|
||||
label: "사용자명",
|
||||
},
|
||||
{
|
||||
key: "company_name",
|
||||
key: "company_code",
|
||||
label: "회사",
|
||||
hideOnMobile: true,
|
||||
render: (_value, row) => <span>{row.company_name || row.company_code}</span>,
|
||||
render: (value) => <span>{value || "-"}</span>,
|
||||
},
|
||||
{
|
||||
key: "dept_name",
|
||||
@@ -122,7 +122,7 @@ export function UserAuthTable({ users, isLoading, paginationInfo, onEditAuth, on
|
||||
const cardFields: RDVCardField<any>[] = [
|
||||
{
|
||||
label: "회사",
|
||||
render: (user) => <span>{user.company_name || user.company_code}</span>,
|
||||
render: (user) => <span>{user.company_code || "-"}</span>,
|
||||
},
|
||||
{
|
||||
label: "부서",
|
||||
|
||||
Reference in New Issue
Block a user