Incorrect navigation when viewing project details

This commit is contained in:
Kartik Sharma 2025-10-06 13:09:08 +05:30 committed by pramod.mahajan
parent a3a5d9fdad
commit 7a30e3b112
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ const ProjectCard = ({ project }) => {
const handleViewProject = () => { const handleViewProject = () => {
dispatch(setProjectId(project.id)); dispatch(setProjectId(project.id));
localStorage.setItem("lastActiveProjectTab","profile")
navigate(`/projects/details`); navigate(`/projects/details`);
}; };
const handleViewActivities = () => { const handleViewActivities = () => {

View File

@ -131,6 +131,7 @@ const ProjectListView = ({
const handleMoveDetails = (project) => { const handleMoveDetails = (project) => {
dispatch(setProjectId(project)); dispatch(setProjectId(project));
localStorage.setItem("lastActiveProjectTab","profile")
navigate("/projects/details"); navigate("/projects/details");
}; };
return ( return (