[as] chore: 설치인가 페이지 수정

This commit is contained in:
2026-06-29 14:46:40 +09:00
parent 9816a9c46a
commit fb160e712b
2 changed files with 2 additions and 10 deletions
@@ -23,7 +23,7 @@ export const instlSncnKeys = {
export function useInstlSncnList(params: InstlSncnMngSearchParams) {
return useQuery({
queryKey: instlSncnKeys.list(),
queryKey: [...instlSncnKeys.list(), params],
queryFn: () => instlSncnService.getPage(params),
});
}
@@ -69,15 +69,7 @@ export function filterChecklistRows(
rows: CklstRvwRsltTreeDto[],
taskCode: string | null,
): CklstRvwRsltTreeDto[] {
return rows
.filter((row) => (taskCode ? row.taskSeComCd === taskCode : true))
.slice()
.sort(
(a, b) =>
(a.cklstArtclSn ?? 0) - (b.cklstArtclSn ?? 0) ||
(a.sortSeq ?? 0) - (b.sortSeq ?? 0) ||
(a.cklstRvwSn ?? 0) - (b.cklstRvwSn ?? 0),
);
return rows.filter((row) => (taskCode ? row.taskSeComCd === taskCode : true)).slice();
}
export function getChecklistDisplayRows(