diff --git a/src/constants/DataTableHeaders.ts b/src/constants/DataTableHeaders.ts index a8fa56f..0976301 100644 --- a/src/constants/DataTableHeaders.ts +++ b/src/constants/DataTableHeaders.ts @@ -18,7 +18,7 @@ export const NOTICE_TABLE_HEADERS: DataTableHeaderProps[] = [ export const APPLICATION_TABLE_HEADERS: DataTableHeaderProps[] = [ { label: "순번", widthPercentage: 7, sort: true, selector: "id" }, - { label: "이름", widthPercentage: 15, sort: true, selector: "name" }, + { label: "이름", widthPercentage: 15, sort: true, selector: "user.name" }, { label: "소속", widthPercentage: 15, sort: false, selector: "division" }, { label: "직책", widthPercentage: 7, sort: false, selector: "position" }, { label: "권한", widthPercentage: 7, sort: false, selector: "userType" }, diff --git a/src/types/common.ts b/src/types/common.ts index 815d76f..5154e63 100644 --- a/src/types/common.ts +++ b/src/types/common.ts @@ -34,4 +34,5 @@ export interface PagedApiResponse { export interface PagedApiRequestParams { page?: number; size?: number; + sort?: string; }