Skip to content

Commit

Permalink
fix(projectDetailsV2): taskLayer color not update issue solve
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 committed Jun 13, 2024
1 parent c7a681b commit 9283d71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/frontend/src/views/ProjectDetailsV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import DebugConsole from '@/utilities/DebugConsole';
import { CustomCheckbox } from '@/components/common/Checkbox';
import useDocumentTitle from '@/utilfunctions/useDocumentTitle';

const Home = () => {
const ProjectDetailsV2 = () => {
useDocumentTitle('Project Details');
const dispatch = CoreModules.useAppDispatch();
const params = CoreModules.useParams();
Expand Down Expand Up @@ -473,6 +473,7 @@ const Home = () => {
mapOnClick={projectClickOnTaskArea}
zoomToLayer
zIndex={5}
style=""
getTaskStatusStyle={(feature) => {
return getTaskStatusStyle(
feature,
Expand All @@ -495,6 +496,7 @@ const Home = () => {
constrainResolution: true,
duration: 2000,
}}
style=""
mapOnClick={projectClickOnTaskFeature}
zoomToLayer
zIndex={5}
Expand Down Expand Up @@ -601,4 +603,4 @@ const Home = () => {
);
};

export default Home;
export default ProjectDetailsV2;

0 comments on commit 9283d71

Please sign in to comment.