From d76edc5d2ba1e2f46f08723476321c8c45af1b95 Mon Sep 17 00:00:00 2001 From: lorinjameson Date: Tue, 24 Sep 2024 10:48:45 -0700 Subject: [PATCH] Fix for list view --- src/apps/dashboard-projects/List/ProjectEntry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/dashboard-projects/List/ProjectEntry.tsx b/src/apps/dashboard-projects/List/ProjectEntry.tsx index 98cc1ce8..8332cc4d 100644 --- a/src/apps/dashboard-projects/List/ProjectEntry.tsx +++ b/src/apps/dashboard-projects/List/ProjectEntry.tsx @@ -69,7 +69,7 @@ export const ProjectsEntry = (props: ProjectsEntryProps) => { setJoinProjectOpen(false); joinProject(supabase, id).then((resp) => { if (resp) { - window.location.href = `./projects/${id}`; + window.location.pathname = `/${props.i18n.lang}/projects/${id}`; } else { props.onError(props.i18n.t['Something happened']); }