diff --git a/services/frontend/src/components/Teachers/TeacherStatistics/index.jsx b/services/frontend/src/components/Teachers/TeacherStatistics/index.jsx index 198b9ba3ef..6d45d7d9c7 100644 --- a/services/frontend/src/components/Teachers/TeacherStatistics/index.jsx +++ b/services/frontend/src/components/Teachers/TeacherStatistics/index.jsx @@ -89,7 +89,7 @@ export const TeacherStatistics = () => { const userProviders = mapToProviders(rights) const invalidQueryParams = provs.length === 0 || !semesterStart - const providerOptions = isAdmin ? providers : providers.filter(p => userProviders.includes(p.value)) + const providerOptions = isAdmin ? providers : providers.filter(p => userProviders.includes(p.code)) const localizedProviderOptions = providerOptions.map(({ name, code }) => ({ key: code, value: code,