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 <[email protected]> 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 ( <>
