diff --git a/components/form/article/edit-article-form.tsx b/components/form/article/edit-article-form.tsx index 0d776c0..711aa99 100644 --- a/components/form/article/edit-article-form.tsx +++ b/components/form/article/edit-article-form.tsx @@ -736,7 +736,7 @@ export default function EditArticleForm(props: { isDetail: boolean }) { )} {isDetail ? ( - detailfiles.length > 0 ? ( + detailfiles?.length > 0 ? ( selectedFileType === "document" ? ( detailfiles?.map((file: any, index: number) => (