Skip to content

Commit 5383763

Browse files
authored
removed strikes from api/cohorts, edited api.yaml to reflect changes, removed strikes from cohorts page in client, ran npm audit fix on server (#291)
1 parent 58aca17 commit 5383763

File tree

4 files changed

+741
-711
lines changed

4 files changed

+741
-711
lines changed

client/src/features/cohorts/components/CohortAccordion.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ const CohortAccordion = ({ cohortInfo }: CohortAccordionProps) => {
5959
<TableCell sx={headerStyle} width={100}>
6060
Avg Score
6161
</TableCell>
62-
<TableCell sx={headerStyle} width={50}>
63-
Strikes
64-
</TableCell>
65-
<TableCell></TableCell>
62+
<TableCell />
6663
</TableRow>
6764
</TableHead>
6865
<TableBody>
@@ -90,7 +87,6 @@ const CohortAccordion = ({ cohortInfo }: CohortAccordionProps) => {
9087
<TableCell sx={{ color: getScoreColor(trainee.averageTestScore) }}>
9188
{trainee.averageTestScore !== null ? trainee.averageTestScore.toFixed(1) : '-'}
9289
</TableCell>
93-
<TableCell>{trainee.strikes}</TableCell>
9490
<TableCell sx={{ whiteSpace: 'nowrap' }} onClick={(e) => e.stopPropagation()}>
9591
<div>
9692
{trainee.slackID && (

server/api.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -995,8 +995,6 @@ paths:
995995
$ref: '#/components/schemas/LearningStatus'
996996
jobPath:
997997
$ref: '#/components/schemas/JobPath'
998-
strikes:
999-
type: number
1000998

1001999
/geo/cities:
10021000
get:

0 commit comments

Comments
 (0)