From ed7b257ed8b46eca6c93e18e16bd416e8e64f05f Mon Sep 17 00:00:00 2001 From: wixarm Date: Mon, 9 Feb 2026 10:23:35 +0330 Subject: [PATCH] add: limit size for upload doc and removed validFiles limit --- src/partials/tagging/TagActiveDistributions.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/partials/tagging/TagActiveDistributions.tsx b/src/partials/tagging/TagActiveDistributions.tsx index ae10d46..2970b56 100644 --- a/src/partials/tagging/TagActiveDistributions.tsx +++ b/src/partials/tagging/TagActiveDistributions.tsx @@ -67,11 +67,12 @@ export default function TagActiveDistributions() { key={item?.id} downloadLink={`/tag/web/api/v1/tag_distribution_batch/${item?.id}/distribution_pdf_view/`} payloadKey="dist_exit_document" - validFiles={["pdf"]} + // validFiles={["pdf"]} page="tag_distribution" access="Upload-Assign-Document" uploadLink={`/tag/web/api/v1/tag_distribution_batch/${item?.id}/assign_document/`} onUploadSuccess={handleUpdate} + limitSize={3} /> ); } else {