Skip to content

Commit

Permalink
Merge branch 'develop' into minorfix01
Browse files Browse the repository at this point in the history
  • Loading branch information
ishvindersethi22 authored Apr 1, 2024
2 parents 488f23f + 7fb24a7 commit ab1bec2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ui/pages/container/Admin/TaskDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { snakeToTitleCase } from '../../../../utils/utils.js';
import GetTaskAnnotationsAPI from '../../../../redux/actions/api/Tasks/GetTaskAnnotations.js';
import FetchUserByIdAPI from "../../../../redux/actions/api/UserManagement/FetchUserById";
import {CircularProgress} from '@mui/material';
import { Link } from 'react-router-dom';

function TaskDetails() {
const [taskId, setTaskId] = useState('');
Expand Down Expand Up @@ -231,6 +232,11 @@ function TaskDetails() {
valueRenderer={(raw) => <span>{typeof raw === "string" && raw.match(/^"(.*)"$/) ? raw.slice(1, -1) : raw}</span>}
theme={theme}
/>
{taskDetails &&(
<Link to ={`/projects/${taskDetails.project_id}`}>
<Button variant="contained">Project Page</Button>
</Link>
)}
</TabPanel>
<TabPanel value={tabValue} index={1}>
<JSONTree
Expand Down

0 comments on commit ab1bec2

Please sign in to comment.