Internal: Fix tool translations in course view - refs BT#21888

pull/5689/head
christianbeeznst 4 months ago
parent f83c8a0b13
commit 5eb5d2ed06
  1. 15
      assets/vue/components/course/CourseTool.vue

@ -21,7 +21,7 @@
:url="tool.url"
class="course-tool__title"
>
{{ tool.tool.titleToShow }}
{{ $t(tool.tool.titleToShow) }}
</BaseAppLink>
<div class="course-tool__options">
@ -54,22 +54,13 @@
size="small"
/>
</a>
<!-- a
v-if="securityStore.isCurrentTeacher"
:href="goToSettingCourseTool(tool)"
>
<BaseIcon
icon="cog"
size="lg"
/>
</a -->
</div>
</div>
</template>
<script setup>
import { computed, inject } from "vue"
import { useI18n } from "vue-i18n"
import BaseIcon from "../basecomponents/BaseIcon.vue"
import { useSecurityStore } from "../../store/securityStore"
import { usePlatformConfig } from "../../store/platformConfig"
@ -77,6 +68,8 @@ import { storeToRefs } from "pinia"
import { useCidReqStore } from "../../store/cidReq"
import BaseAppLink from "../basecomponents/BaseAppLink.vue"
const { t } = useI18n()
const securityStore = useSecurityStore()
const platformConfigStore = usePlatformConfig()
const cidReqStore = useCidReqStore()

Loading…
Cancel
Save