You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ya...@apache.org on 2025/06/03 15:47:51 UTC
(airavata) 02/02: fix url
This is an automated email from the ASF dual-hosted git repository.
yasith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit f84cf13435d3ae28ef04aad7df8b59185c95320a
Author: ganning127 <ga...@gmail.com>
AuthorDate: Fri May 30 00:12:53 2025 -0700
fix url
---
.../portal/src/components/home/StartSessionFromProjectButton.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/research-framework/portal/src/components/home/StartSessionFromProjectButton.tsx b/modules/research-framework/portal/src/components/home/StartSessionFromProjectButton.tsx
index 7fb63eff7b..66840acdc8 100644
--- a/modules/research-framework/portal/src/components/home/StartSessionFromProjectButton.tsx
+++ b/modules/research-framework/portal/src/components/home/StartSessionFromProjectButton.tsx
@@ -93,8 +93,10 @@ export const StartSessionFromProjectButton = ({
const params = new URLSearchParams(window.location.search);
if (params.get("showStartProjectSessionModal") === "true") {
dialog.setOpen(true);
+ // remove ALL query params
+ window.history.replaceState({}, "", window.location.pathname);
}
- }, []);
+ }, [dialog]);
return (
<>