Incorrect navigation when viewing project details #452

Merged
pramod.mahajan merged 1 commits from Kartik_Bug#1418 into OnField_Issues_Oct_2W 2025-10-07 04:09:07 +00:00
2 changed files with 2 additions and 0 deletions

View File

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

View File

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