From b3dcdb56eecb8524fc0c2867221ea6083d008c1f Mon Sep 17 00:00:00 2001 From: Rama Priyanto Date: Wed, 18 Jun 2025 09:50:55 +0700 Subject: [PATCH] fix:detail --- components/form/article/edit-article-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => (