From 4518158b01c756ac615de231c5c8edd3e262c861 Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Mon, 9 Jun 2025 14:12:37 +0530 Subject: [PATCH 1/4] Update DeploymentGuide.md --- docs/DeploymentGuide.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/DeploymentGuide.md b/docs/DeploymentGuide.md index 6ede4c62..7f83a3e2 100644 --- a/docs/DeploymentGuide.md +++ b/docs/DeploymentGuide.md @@ -7,8 +7,7 @@ ## Contents * [Prerequisites](#prerequisites) * [Regional Availability](#regional-availability) -* [Deploy to Azure](#deploy-to-azure) -* [Post-Deploy Configuration](#post-deploy-configuration) +* [Deployment](#deployment) * [Next Steps](#next-steps) ## Prerequisites From e316014f4968c005a62f08dc2c06ca3c26579732 Mon Sep 17 00:00:00 2001 From: Rohini-Microsoft Date: Wed, 9 Jul 2025 20:23:21 +0530 Subject: [PATCH 2/4] added logic on upload file dialogue close list of file should not visible --- .../components/uploadButton/uploadButton.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/App/frontend-app/src/components/uploadButton/uploadButton.tsx b/App/frontend-app/src/components/uploadButton/uploadButton.tsx index e46ca62c..6f82f397 100644 --- a/App/frontend-app/src/components/uploadButton/uploadButton.tsx +++ b/App/frontend-app/src/components/uploadButton/uploadButton.tsx @@ -93,9 +93,22 @@ const UploadDocumentsDialog = () => { noKeyboard: true, }); + // Add this function to handle dialog close + const handleDialogClose = () => { + setIsOpen(false); + setUploadingFiles([]); // Clear the uploaded files + setIsUploading(false); // Reset uploading state + }; + return (<> {isUploadBtnVisible == true ? - setIsOpen(data.open)}> + { + if (!data.open) { + handleDialogClose(); + } else { + setIsOpen(data.open); + } + }}>