mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
add link for topic in groups
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
import Button from '@material-ui/core/Button'
|
||||
import IconButton from '@material-ui/core/IconButton'
|
||||
@@ -59,8 +60,14 @@ const SingleGroupView = ({
|
||||
<div>
|
||||
<div className="group-topic">
|
||||
<p>Topic</p>
|
||||
<Link to={`/topics/${group.topicId}`}>
|
||||
{topicName}
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
{topicName}
|
||||
<div className="group-topic">
|
||||
<p>Project length</p>
|
||||
{group.isShortProject ? 'short' : 'long'}
|
||||
</div>
|
||||
|
||||
<div className="group-students">
|
||||
|
||||
Reference in New Issue
Block a user