Merge pull request 'Incorrect navigation when viewing project details' (#452) from Kartik_Bug#1418 into OnField_Issues_Oct_2W
Reviewed-on: #452 Merged
This commit is contained in:
commit
2e09a53078
@ -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 = () => {
|
||||||
|
|||||||
@ -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 (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user