diff --git a/apps/as/src/widgets/pbadms-sprt/ui/attachments-form-section.tsx b/apps/as/src/widgets/pbadms-sprt/ui/attachments-form-section.tsx
index 064691f14..b69640568 100644
--- a/apps/as/src/widgets/pbadms-sprt/ui/attachments-form-section.tsx
+++ b/apps/as/src/widgets/pbadms-sprt/ui/attachments-form-section.tsx
@@ -15,7 +15,11 @@ import {
SectionCollapsible,
UploadedFileChip,
} from "@/shared/ui";
-import { attachService, useDownloadAttachmentByAtflCd, useDownloadAttachmentByAtflId } from "@/entities/attach";
+import {
+ attachService,
+ useDownloadAttachmentByAtflCd,
+ useDownloadAttachmentByAtflId,
+} from "@/entities/attach";
import { useEsntlAtchFileMngTree } from "@/entities/esntl";
import {
Button,
@@ -373,32 +377,26 @@ function AttachmentsFormSection({
return (
-
-
필수 첨부파일
-
-
-
-
-
-
-
-
-
- 파일명
-
- 파일 확장자
- 파일첨부
-
-
-
- {essentialFiles.length === 0 ? (
+ {essentialFiles.length === 0 && (
+
+
필수 첨부파일
+
+
+
+
+
+
+
-
- 조회된 필수 첨부파일 항목이 없습니다.
-
+
+ 파일명
+
+ 파일 확장자
+ 파일첨부
- ) : (
- essentialFiles.map((file) => {
+
+
+ {essentialFiles.map((file) => {
const atflCd = file.atchFileGroupId ?? "";
return (
@@ -445,11 +443,11 @@ function AttachmentsFormSection({
);
- })
- )}
-
-
-
+ })}
+
+
+
+ )}
@@ -468,9 +466,7 @@ function AttachmentsFormSection({
fileName={item.file?.name ?? item.fileName}
isUploading={isUploading[item.fileKey] ?? false}
onRemove={() => void removeEtcFile(idx)}
- onDownload={
- item.atflId ? () => downloadByAtflId(item.atflId!) : undefined
- }
+ onDownload={item.atflId ? () => downloadByAtflId(item.atflId!) : undefined}
/>
))}