From e166b181c768eafee3c565cad60123c0799682cf Mon Sep 17 00:00:00 2001 From: Don Xavier Date: Thu, 6 Feb 2025 15:29:04 +0530 Subject: [PATCH] Get error for specific inputs when updated --- src/components/Files/FilesTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Files/FilesTab.tsx b/src/components/Files/FilesTab.tsx index 723eb8f7119..0d11046948a 100644 --- a/src/components/Files/FilesTab.tsx +++ b/src/components/Files/FilesTab.tsx @@ -700,7 +700,7 @@ const FileUploadDialog = ({ }} className="ml-0.5 mb-0.5" /> - {index === 0 && fileUpload.error && ( + {!fileUpload.fileNames[index] && fileUpload.error && (

{fileUpload.error}