File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/client/components/Admin Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ import {
13
13
Select ,
14
14
MenuItem ,
15
15
Tooltip ,
16
+ Link ,
16
17
} from '@mui/material'
18
+ import { Link as RouterLink } from 'react-router-dom'
17
19
import useStatistics from '../../hooks/useStatistics'
18
20
import { Statistic } from '../../types'
19
21
import programme from '../../locales/programme.json'
@@ -155,7 +157,9 @@ const Statistics = () => {
155
157
< Typography > { chat . codes . join ( ', ' ) } </ Typography >
156
158
</ TableCell >
157
159
< TableCell align = "left" >
158
- < Typography > { chat . name [ language ] } </ Typography >
160
+ < Link to = { `/courses/${ chat . id } ` } component = { RouterLink } >
161
+ < Typography > { chat . name [ language ] } </ Typography >
162
+ </ Link >
159
163
</ TableCell >
160
164
< TableCell align = "left" >
161
165
< Typography >
You can’t perform that action at this time.
0 commit comments