Skip to content

Commit

Permalink
Internal: Fix menu item translations for Course Maintenance and Setti…
Browse files Browse the repository at this point in the history
…ngs - refs BT#22256
  • Loading branch information
christianbeeznest committed Dec 16, 2024
1 parent f83a57e commit 39b80e4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions assets/vue/views/course/CourseHome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,12 @@ courseService.loadCTools(course.value.id, session.value?.id).then((cTools) => {
return false
})
.map((adminTool) => ({
label: adminTool.tool.titleToShow,
url: adminTool.url,
}))
.map((adminTool) => {
return {
label: t(adminTool.tool.titleToShow),
url: adminTool.url,
}
})
noAdminToolsIndex.reverse().forEach((element) => tools.value.splice(element, 1))
Expand Down

0 comments on commit 39b80e4

Please sign in to comment.