Skip to content

Commit

Permalink
Merge pull request #823 from AI4Bharat/dev3-s
Browse files Browse the repository at this point in the history
Dev3 s
  • Loading branch information
aparna-aa authored Sep 11, 2024
2 parents 528693f + 572039d commit d01f3ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Organization/MyOrganization.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const MyOrganization = () => {
alignItems="center"
>
<Box display={"flex"} width={"100%"}>
{(isUserOrgOwner|| userData?.role==="ADMIN") && (
{(isUserOrgOwner|| userData?.role==="ADMIN" || userData?.role==="PROJECT_MANAGER") && (
<Fragment>
<Button
style={{ marginRight: "10px" }}
Expand Down
4 changes: 4 additions & 0 deletions src/containers/Organization/Project/EditProject.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ const EditProject = () => {

const apiObj = new EditProjectDetailsAPI(updateProjectReqBody, projectId);
dispatch(APITransport(apiObj));

const apiObj2 = new FetchProjectDetailsAPI(projectId);
dispatch(APITransport(apiObj2));

};

const showBtn = () => {
Expand Down

0 comments on commit d01f3ce

Please sign in to comment.