Incorrect navigation when viewing project details
This commit is contained in:
parent
040331e27d
commit
071f862743
@ -35,6 +35,7 @@ const ProjectCard = ({ project }) => {
|
||||
|
||||
const handleViewProject = () => {
|
||||
dispatch(setProjectId(project.id));
|
||||
localStorage.setItem("lastActiveProjectTab","profile")
|
||||
navigate(`/projects/details`);
|
||||
};
|
||||
const handleViewActivities = () => {
|
||||
|
@ -131,6 +131,7 @@ const ProjectListView = ({
|
||||
|
||||
const handleMoveDetails = (project) => {
|
||||
dispatch(setProjectId(project));
|
||||
localStorage.setItem("lastActiveProjectTab","profile")
|
||||
navigate("/projects/details");
|
||||
};
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user