Skip to content

Commit

Permalink
FIX the color of repo urls
Browse files Browse the repository at this point in the history
  • Loading branch information
PIG208 committed Feb 15, 2022
1 parent 8e948b5 commit e45359f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/src/pages/core/admin/User.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import axios from 'axios';
import standardStatusHandler from '../../../utils/standardStatusHandler';
import {useSnackbar} from 'notistack';
import Typography from '@material-ui/core/Typography';
import Link from '@material-ui/core/Link';
import Paper from '@material-ui/core/Paper';
import IconButton from '@material-ui/core/IconButton';
import CheckIcon from '@material-ui/icons/Check';
Expand Down Expand Up @@ -93,13 +94,14 @@ export default function User() {
columns={[
{
field: 'repo_url', headerName: 'Repo URL', width: 500, renderCell: (params) => (
<a
<Link
href={params.row?.repo_url}
target={'_blank'}
rel={'noreferrer'}
color={'primary'}
>
{params.row?.repo_url}
</a>
</Link>
),
},
{field: 'assignment_name', headerName: 'Assignment', width: 200},
Expand Down

0 comments on commit e45359f

Please sign in to comment.