Skip to content

Commit

Permalink
[Teachers] Fix course providers not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Feb 26, 2024
1 parent c0a1cf9 commit dce0642
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dce0642

Please sign in to comment.