diff --git a/services/oodikone2-frontend/src/components/StudyProgramme/ProductivityTable/index.jsx b/services/oodikone2-frontend/src/components/StudyProgramme/ProductivityTable/index.jsx index 6aa0803c86..5048195b6b 100644 --- a/services/oodikone2-frontend/src/components/StudyProgramme/ProductivityTable/index.jsx +++ b/services/oodikone2-frontend/src/components/StudyProgramme/ProductivityTable/index.jsx @@ -12,7 +12,7 @@ const ProductivityTable = ({ productivity, thesis, loading, error, studyprogramm if (thesis) { thesisTypes = thesis.map(t => t.thesisType) } - const headerList = ['Year', 'Credits', thesisTypes.includes('MASTER') && 'Masters Thesis', thesisTypes.includes('BACHELOR') && 'Bachelors Thesis', 'Graduated'].filter(_ => _) + const headerList = ['Year', 'Credits', thesisTypes.includes('MASTER') && 'Masters Thesis', thesisTypes.includes('BACHELOR') && 'Bachelors Thesis', 'Graduated', 'Credits given to students in selected programme'].filter(_ => _) const refresh = () => { callApi('/v2/studyprogrammes/productivity/recalculate', 'get', null, { code: studyprogramme }) @@ -69,8 +69,7 @@ const ProductivityTable = ({ productivity, thesis, loading, error, studyprogramm {year.mThesis} )} {year.graduated} - {/* {year.creditsForPercetage} */} - + {year.creditsForPercentage} )) : null} @@ -90,7 +89,7 @@ ProductivityTable.propTypes = { mThesis: number, bThesis: number, graduated: number, - creditsForPercetage: number + creditsForPercentage: number })) }), thesis: arrayOf(shape({