Skip to content

Commit d1dfada

Browse files
authored
Merge pull request #185 from CodeForPhilly/US83-adding-dropdown-support-to-add-button
US83 Adding participants detail link to Participants search list
2 parents 922df29 + b09bf93 commit d1dfada

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

frontend/src/components/ParticipantsList.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import TableHead from "@material-ui/core/TableHead"
1010
import TableRow from "@material-ui/core/TableRow"
1111
import Fab from "@material-ui/core/Fab"
1212
import AddIcon from "@material-ui/icons/Add"
13+
import AssignmentIcon from "@material-ui/icons/Assignment"
1314
import { observer } from "mobx-react-lite"
1415

1516
const ParticipantsList = observer(() => {
@@ -65,7 +66,7 @@ const ParticipantsList = observer(() => {
6566
<Typography>Race</Typography>
6667
</TableCell>
6768
<TableCell>
68-
<Typography>Add</Typography>
69+
<Typography>Participant Details</Typography>
6970
</TableCell>
7071
</TableRow>
7172
</TableHead>
@@ -94,9 +95,11 @@ const ParticipantsList = observer(() => {
9495
<Typography>Race</Typography>
9596
</TableCell>
9697
<TableCell>
97-
<Fab color="primary" size="small" aria-label="add">
98-
<AddIcon />
99-
</Fab>
98+
<Link to="/participantInfo">
99+
<Fab color="primary" size="small" aria-label="add">
100+
<AssignmentIcon />
101+
</Fab>
102+
</Link>
100103
</TableCell>
101104
</TableRow>
102105
))}

frontend/yarn.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6126,6 +6126,15 @@ mini-create-react-context@^0.3.0:
61266126
gud "^1.0.0"
61276127
tiny-warning "^1.0.2"
61286128

6129+
mini-create-react-context@^0.3.0:
6130+
version "0.3.2"
6131+
resolved "https://registry.yarnpkg.com/mini-create-react-context/-/mini-create-react-context-0.3.2.tgz#79fc598f283dd623da8e088b05db8cddab250189"
6132+
integrity sha512-2v+OeetEyliMt5VHMXsBhABoJ0/M4RCe7fatd/fBy6SMiKazUSEt3gxxypfnk2SHMkdBYvorHRoQxuGoiwbzAw==
6133+
dependencies:
6134+
"@babel/runtime" "^7.4.0"
6135+
gud "^1.0.0"
6136+
tiny-warning "^1.0.2"
6137+
61296138
minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
61306139
version "1.0.1"
61316140
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"

0 commit comments

Comments
 (0)