웹기안기 버튼 노출

This commit is contained in:
2026-12-04 14:58:38 +09:00
parent f729c32088
commit f2d748d05e
2 changed files with 4 additions and 2 deletions
@@ -7,6 +7,9 @@ export function findCompletedPwrkDraft(
data: PwrkCnsltnMngDetResponseDto | null | undefined,
): PwrkCnsltnDocCrtDmndResponseDto | undefined {
return data?.crtDmndList?.find(
(item) => item.crtSttsComCd === "C" && Boolean(item.crtDmndUuid) && Boolean(item.crtRslt),
(item) =>
Boolean(item.crtDmndUuid) &&
Boolean(item.crtRslt) &&
(item.crtSttsComCd === "C" || Boolean(item.crtRslt?.crtCmptnDt)),
);
}
@@ -99,7 +99,6 @@ const ROLE_USER01_ATRZ_STATUS_ACTIONS: Record<
FNRS_CNSLTN_VIEW_BUTTON_ACTION.fileVrfc,
FNRS_CNSLTN_VIEW_BUTTON_ACTION.dsgntRvwr,
],
ATRZ02: [FNRS_CNSLTN_VIEW_BUTTON_ACTION.pwrkCnsltnDocMng],
},
SL: {
ATRZ01: [FNRS_CNSLTN_VIEW_BUTTON_ACTION.pwrkCnsltnDocMng],